go-json/Makefile

10 lines
216 B
Makefile
Raw Permalink Normal View History

2021-01-16 16:16:26 +03:00
.PHONY: cover
cover:
@ go test -coverprofile=cover.tmp.out . ; \
cat cover.tmp.out | grep -v "encode_optype.go" > cover.out; \
rm cover.tmp.out
2021-01-16 16:18:44 +03:00
.PHONY: cover-html
2021-01-16 16:16:26 +03:00
cover-html: cover
go tool cover -html=cover.out