d77176912b
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
15 lines
No EOL
244 B
Makefile
15 lines
No EOL
244 B
Makefile
.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
|