From 1ae130ff973e6aeac31a0b93c01971f5f54efe0d Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 19 Sep 2021 18:42:39 -0700 Subject: [PATCH] Make coverage target generates html coverage report --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4bab277..4f844f4 100644 --- a/Makefile +++ b/Makefile @@ -8,4 +8,4 @@ test: coverage: [[ -d coverage ]] || mkdir coverage go test -coverpkg=./... -coverprofile=coverage/index.out ./... - go tool cover -html=coverage/index.out + go tool cover -html=coverage/index.out -o coverage/index.html