diff options
author | Jakob Unterwurzacher | 2017-10-22 14:37:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-10-22 14:37:44 +0200 |
commit | a1170be979cb75da11e84f45f67d3f5468d97669 (patch) | |
tree | 674c4bfbfc6dc587e998c1e29c5ba30cb5df37a2 | |
parent | 4954c87979efaf5b8184efccc7d9a38c21e4209b (diff) |
test.bash: use "go vet" instead of "go tool vet"
"go vet" automatically skips the vendor directory.
"go tool vet" does not, and it will complain about a lot
of things in there.
-rwxr-xr-x | test.bash | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,9 +31,9 @@ if [[ $OSTYPE == linux* ]] ; then fi if go tool | grep vet > /dev/null ; then - go tool vet -all -shadow . + go vet -all -shadow ./... else - echo "'go tool vet' not available - skipping" + echo "'go vet' not available - skipping" fi # We don't want all the subprocesses holding the lock file open |