From 812614b10e7a15beab4a28df06831f27d110c7c0 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 5 Sep 2017 17:27:25 +0100 Subject: [PATCH] Make gometalinter install its stuff --- hooks/pre-commit | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/pre-commit b/hooks/pre-commit index ec88170f4..8d71b1c6a 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -7,6 +7,7 @@ export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin" echo "Installing lint search engine..." go install github.com/alecthomas/gometalinter/ +gometalinter --config=linter.json ./... --install echo "Looking for lint..." gometalinter --config=linter.json ./...