lint: Use a fixed commit for gometalinter
Pulling latest code breaks our lint when unstable code is merged into gometalinter. Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
e1c0508fec
commit
762f508d9c
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -192,6 +192,9 @@ install.tools: .install.gitvalidation .install.gometalinter .install.md2man
|
||||||
.install.gometalinter: .gopathok
|
.install.gometalinter: .gopathok
|
||||||
if [ ! -x "$(GOPATH)/bin/gometalinter" ]; then \
|
if [ ! -x "$(GOPATH)/bin/gometalinter" ]; then \
|
||||||
go get -u github.com/alecthomas/gometalinter; \
|
go get -u github.com/alecthomas/gometalinter; \
|
||||||
|
cd $(GOPATH)/src/github.com/alecthomas/gometalinter; \
|
||||||
|
git checkout 23261fa046586808612c61da7a81d75a658e0814; \
|
||||||
|
go install github.com/alecthomas/gometalinter; \
|
||||||
$(GOPATH)/bin/gometalinter --install; \
|
$(GOPATH)/bin/gometalinter --install; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue