aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1ed989b51..dd7123e09 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,8 @@ linter:
.PHONY: goimports
goimports:
+ go get -u github.com/alecthomas/gometalinter
+ gometalinter --install goimports
( gometalinter --deadline=2m --disable-all --enable=goimports --vendor --exclude=^pb/ ./... || true )
# Presubmit runs all scripts in .presubmit; any non 0 exit code will fail the build.