diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..7ca3f4b --- /dev/null +++ b/build.bat @@ -0,0 +1,3 @@ +@echo off +powershell -NoProfile -ExecutionPolicy Bypass -Command "$env:Path = [System.Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [System.Environment]::GetEnvironmentVariable('Path','User') + ';$HOME\go\bin'; task build" +pause diff --git a/build.ps1 b/build.ps1 new file mode 100644 index 0000000..90308be --- /dev/null +++ b/build.ps1 @@ -0,0 +1,2 @@ +$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") + ";$HOME\go\bin" +task build