mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 00:29:33 +01:00
15 lines
245 B
Makefile
Vendored
15 lines
245 B
Makefile
Vendored
.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
|