diff --git a/Makefile b/Makefile index b9d19ac..b3ac335 100644 --- a/Makefile +++ b/Makefile @@ -8,4 +8,7 @@ go-test: bench: go test -bench . -benchmem +coverage: + out=`mktemp -t "forge-coverage"`; go test -coverprofile=$$out && go tool cover -html=$$out + .PHONY: lint test