1
0
pool/Makefile

29 lines
377 B
Makefile
Raw Normal View History

2026-03-03 19:50:09 +01:00
sources = $(shell find . -name "*.go")
default: build
build: $(sources)
go build
fmt: $(sources)
go fmt
check: $(sources)
2026-05-10 21:17:54 +02:00
go test -v -count 1
2026-03-03 19:50:09 +01:00
race: $(source)
2026-05-10 21:17:54 +02:00
go test -v -count 1 -race
2026-03-03 19:50:09 +01:00
.cover: $(sources)
2026-05-10 21:17:54 +02:00
go test -v -count 1 -coverprofile .cover
2026-03-03 19:50:09 +01:00
cover: .cover
go tool cover -func .cover
showcover: .cover
go tool cover -html .cover
clean:
go clean
2026-03-14 21:33:59 +01:00
rm -f .cover