From bf510ac1a436fae1b640335fa6dce9e527d0f59f Mon Sep 17 00:00:00 2001 From: Aswin Karthik Date: Sat, 15 Feb 2020 12:00:32 +0530 Subject: [PATCH] Exit with non-zero exit status if tests fail Signed-off-by: Aswin Karthik --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b0a9af0..d4b938d 100644 --- a/Makefile +++ b/Makefile @@ -27,10 +27,9 @@ endif $(GOBIN)/golangci-lint run -v ./... ## test: Run all tests -test: - @-$(MAKE) -s go-test +test: go-test -## compile: Compile the binary. +## compie: Compile the binary. compile: @-$(MAKE) -s go-compile