diff options
author | Kegan Dougal <kegan@matrix.org> | 2017-05-18 12:27:11 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2017-05-18 12:27:11 +0100 |
commit | cf736d746d3e944251d2fe8b2554dec543dd8e84 (patch) | |
tree | 61f6646b091daecec7be0b591b006bb3eddc7ca8 /hooks | |
parent | e4a97d13b37b126b39917cacea0724b0ecffc1e9 (diff) |
hook: Make go vet run all tests and fix warnings
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/pre-commit | 2 |
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 |