Makefile (239B)
1 .PHONY: build test bench vet coverage 2 3 build: vet bench 4 5 test: 6 go test -v -cover -race 7 8 bench: 9 go test -v -cover -test.bench=. -test.benchmem 10 11 vet: 12 go vet 13 14 coverage: 15 go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out