yanic/Makefile

13 lines
210 B
Makefile
Raw Normal View History

2022-03-28 03:42:42 +02:00
## testing
.PHONY: coverage.out
coverage.out:
go test -race -covermode=atomic -coverprofile=$@ ./...
coverage.html: coverage.out
go tool cover -html $< -o $@
.PHONY: test
test: coverage.out ## runs tests