diff options
Diffstat (limited to 'installer/go_install.cmd')
-rw-r--r-- | installer/go_install.cmd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/go_install.cmd b/installer/go_install.cmd index 1455953..fa4c0f0 100644 --- a/installer/go_install.cmd +++ b/installer/go_install.cmd @@ -2,10 +2,12 @@ if "x%1" equ "x" goto :EOF
+setlocal
+
set GO111MODULE=on
set GOPATH=%cd%
set GOBIN=%cd%
go get -v -u %1
set GOBIN=
go clean -modcache
-rd /S /Q "src" "pkg" 2> NULL
+rd /S /Q "src" "pkg" 2> NUL
|