Fail the build when govet returns non-zero exit code

This commit is contained in:
Chris Bednarski 2015-06-01 15:40:43 -07:00
parent edf3415c6e
commit 295f7a2ebd

View File

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