blob: 1316911d2df54082b1534bfba3b4d339b8948a60 (
plain)
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
|