From 394f87d7399fb2be976516caaac88c31ce3d774a Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Sat, 21 Mar 2015 20:23:37 -0700 Subject: [PATCH] Make sure coverage.html is generated when tests fail This has a side effect of making vet and lint run even if tests fail, which maybe undesirable. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2face6d..b9a6780 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,7 @@ build: deps go build test: - go test -coverprofile=coverage.out - go tool cover -html=coverage.out -o coverage.html + go test -coverprofile=coverage.out; go tool cover -html=coverage.out -o coverage.html go vet golint