aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2017-05-18 12:27:11 +0100
committerKegan Dougal <kegan@matrix.org>2017-05-18 12:27:11 +0100
commitcf736d746d3e944251d2fe8b2554dec543dd8e84 (patch)
tree61f6646b091daecec7be0b591b006bb3eddc7ca8 /hooks
parente4a97d13b37b126b39917cacea0724b0ecffc1e9 (diff)
hook: Make go vet run all tests and fix warnings
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
index d9ffbfba..09970441 100755
--- a/hooks/pre-commit
+++ b/hooks/pre-commit
@@ -4,6 +4,6 @@ set -eu
golint src/...
go fmt ./src/...
-go tool vet --shadow ./src
+go tool vet --all --shadow ./src
gocyclo -over 12 src/
gb test