diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -4,3 +4,5 @@ /ciigo-example /_bin *.html +cover.out +cover.html @@ -14,7 +14,8 @@ lint: test: go run ./cmd/ciigo-example embed - CGO_ENABLED=1 go test -failfast -v -race -p=1 ./... + CGO_ENABLED=1 go test -failfast -v -race -p=1 -coverprofile=cover.out ./... + go tool cover -html=cover.out -o cover.html install: build mv _bin/ciigo $(GOBIN) |
