Install golangci-lint

This commit is contained in:
Yasuhiro Matsumoto
2020-03-10 14:49:28 +09:00
parent 2d28590764
commit d57fa14fec
3 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -1,3 +1,4 @@
@echo off
call "%~dp0\go_install.cmd" github.com/nametake/golangci-lint-langserver@latest
call "%~dp0\go_install.cmd" github.com/golangci/golangci-lint@latest

View File

@@ -3,3 +3,4 @@
set -e
"$(dirname "$0")/go_install.sh" github.com/nametake/golangci-lint-langserver@latest
"$(dirname "$0")/go_install.sh" github.com/golangci/golangci-lint@latest