build: Temporary workaround for golint being missing.

See https://github.com/golang/lint/issues/397
This commit is contained in:
Nick Craig-Wood 2018-04-24 11:22:38 +01:00
parent 9ab2521ef2
commit be8bd89674
1 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,9 @@ build_dep:
ifdef FULL_TESTS
go get -u github.com/kisielk/errcheck
go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/golang/lint/golint
-#go get -u golang.org/x/lint/golint
-#temporary workaround for https://github.com/golang/lint/issues/397
[ -d "$$GOPATH/src/golang.org/x/lint" ] || ( mkdir -p $$GOPATH/src/golang.org/x && git clone --depth 1 https://github.com/golang/lint.git $$GOPATH/src/golang.org/x/lint && go get -u github.com/golang/lint/golint )
go get -u github.com/inconshreveable/mousetrap
go get -u github.com/tools/godep
endif