Make coverage target generates html coverage report

master
Buddy Sandidge 3 years ago
parent fa1dca3fd6
commit 1ae130ff97

@ -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

Loading…
Cancel
Save