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:
commit
6fca917ed2
1
Makefile
1
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue