mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-04 23:56:30 +00:00
c28f7cb29f
Initial part of #435
15 lines
239 B
Makefile
15 lines
239 B
Makefile
.PHONY: build test bench vet coverage
|
|
|
|
build: vet bench
|
|
|
|
test:
|
|
go test -v -cover -race
|
|
|
|
bench:
|
|
go test -v -cover -test.bench=. -test.benchmem
|
|
|
|
vet:
|
|
go vet
|
|
|
|
coverage:
|
|
go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out
|