Merge pull request #2158 from cbednarski/f-vet-fail

Fail the build when go vet returns non-zero exit code
This commit is contained in:
Seth Vargo 2015-06-02 16:40:03 -04:00
commit 6fca917ed2
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ vet:
echo ""; \ echo ""; \
echo "Vet found suspicious constructs. Please check the reported constructs"; \ echo "Vet found suspicious constructs. Please check the reported constructs"; \
echo "and fix them if necessary before submitting the code for reviewal."; \ echo "and fix them if necessary before submitting the code for reviewal."; \
exit 1; \
fi fi
.PHONY: bin default generate test testacc updatedeps vet .PHONY: bin default generate test testacc updatedeps vet