aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1f8fb3..4b4f88f 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@
.PHONY: all install
all:
- CGO_ENABLED=1 go test -race -failfast ./...
+ CGO_ENABLED=1 go test -race -failfast -coverprofile=cover.out ./...
+ go tool cover -html=cover.out -o cover.out
install:
go install ./cmd/gotp