From 295f7a2ebd3cecfb022d1546b582f5f309d7ee81 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 1 Jun 2015 15:40:43 -0700 Subject: [PATCH] Fail the build when govet returns non-zero exit code --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d440fd501..0574cbb5c 100644 --- a/Makefile +++ b/Makefile @@ -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