tmpl/Makefile
2021-09-19 18:42:39 -07:00

12 lines
229 B
Makefile

SHELL = bash
.PHONY: coverage
test:
go test ./...
coverage:
[[ -d coverage ]] || mkdir coverage
go test -coverpkg=./... -coverprofile=coverage/index.out ./...
go tool cover -html=coverage/index.out -o coverage/index.html