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:
Mrunal Patel 2017-07-10 12:16:37 -07:00
parent e1c0508fec
commit 762f508d9c

View file

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