From 762f508d9ca97cdbaee6053b663e98aee9cae081 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Mon, 10 Jul 2017 12:16:37 -0700 Subject: [PATCH] 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 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0c04d9b2..26d075dd 100644 --- a/Makefile +++ b/Makefile @@ -192,6 +192,9 @@ install.tools: .install.gitvalidation .install.gometalinter .install.md2man .install.gometalinter: .gopathok if [ ! -x "$(GOPATH)/bin/gometalinter" ]; then \ 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; \ fi