Makefile 245 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
.PHONY: build test bench vet coverage

build: vet bench

test:
	go test -v -cover -race

bench:
	go test -v -cover -race -test.bench=. -test.benchmem

vet:
	go vet

coverage:
	go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out