From be8bd89674ffc5fc5218d61f335f623029fa5d1e Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 24 Apr 2018 11:22:38 +0100 Subject: [PATCH] build: Temporary workaround for golint being missing. See https://github.com/golang/lint/issues/397 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c2de58243..71bb0e3af 100644 --- a/Makefile +++ b/Makefile @@ -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