aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.cmd
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2020-03-10 14:56:03 +0900
committerGitHub <noreply@github.com>2020-03-10 14:56:03 +0900
commit3cf9a6013ee1100de1bd66d40747b529e4070b22 (patch)
treeccd36aab748759a76db0ad07965c8b0d58602949 /installer/go_install.cmd
parenteb7e11c0680c12bf68fbd1b31cb7bec3cf4f494c (diff)
parentd57fa14fec4bcd9824c2f4930c622ac2e2bdade5 (diff)
downloadvim-lsp-settings-3cf9a6013ee1100de1bd66d40747b529e4070b22.tar.gz
vim-lsp-settings-3cf9a6013ee1100de1bd66d40747b529e4070b22.tar.bz2
vim-lsp-settings-3cf9a6013ee1100de1bd66d40747b529e4070b22.zip
Merge pull request #194 from mattn/golangci-lint-langserver
Add golangci-lint-langserver
Diffstat (limited to 'installer/go_install.cmd')
-rw-r--r--installer/go_install.cmd5
1 files changed, 4 insertions, 1 deletions
diff --git a/installer/go_install.cmd b/installer/go_install.cmd
index 642b6a9..fa4c0f0 100644
--- a/installer/go_install.cmd
+++ b/installer/go_install.cmd
@@ -2,9 +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