diff options
Diffstat (limited to 'installer')
-rw-r--r-- | installer/go_install.cmd | 2 | ||||
-rwxr-xr-x | installer/go_install.sh | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/installer/go_install.cmd b/installer/go_install.cmd index 16e1ca8..642b6a9 100644 --- a/installer/go_install.cmd +++ b/installer/go_install.cmd @@ -5,4 +5,6 @@ if "x%1" equ "x" goto :EOF set GOPATH=%cd%
set GOBIN=%cd%
go get -v -u %1
+set GOBIN=
+go clean -modcache
rd /S /Q "src" "pkg" 2> NULL
diff --git a/installer/go_install.sh b/installer/go_install.sh index be5feff..4f6b6dd 100755 --- a/installer/go_install.sh +++ b/installer/go_install.sh @@ -6,4 +6,5 @@ set -e GOPATH=$(pwd) GOBIN=$(pwd) GO111MODULE=on go get -v "$1" +GOPATH=$(pwd) GO111MODULE=on go clean -modcache rm -rf src pkg 2> /dev/null |