diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-07 00:44:59 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-07 00:44:59 +0700 |
| commit | 035f4e6c87f49eee768937cbec330f803376897a (patch) | |
| tree | eaf0153c72b1de414709070a676c53527317d9c4 /Makefile | |
| parent | 06016118084334cb22ee1455a7f3786c6162673a (diff) | |
| download | gotp-035f4e6c87f49eee768937cbec330f803376897a.tar.xz | |
all: generate coverage when running tests
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
