From 889ef0cbe073241543dcefecf7050260a451af68 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Thu, 26 Apr 2018 13:01:57 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 866c3e63..5ddc2e41 100644 --- a/Makefile +++ b/Makefile @@ -31,8 +31,9 @@ test: deps go fmt ./$$pkg ; \ go vet ./$$pkg ; \ megacheck ./$$pkg ; \ + touch $$pkg.profile ; \ go test -race ./$$pkg -coverprofile=$$pkg.profile -covermode=atomic; \ - tail -n +2 $$pkg.profile >> coverage.profile || true && rm -rf $$pkg.profile ; \ + tail -n +2 $$pkg.profile >> coverage.profile && rm -rf $$pkg.profile ; \ done html_coverage: test