1
0
buffer/Makefile

29 lines
377 B
Makefile
Raw Normal View History

2026-02-17 16:58:00 +01:00
sources = $(shell find . -name "*.go")
default: build
build: $(sources)
go build
fmt: $(sources)
go fmt
check: $(sources)
go test -count 1
.cover: $(sources)
go test -count 1 -coverprofile .cover
cover: .cover
go tool cover -func .cover
showcover: .cover
go tool cover -html .cover
2026-02-22 20:55:38 +01:00
bench: $(sources)
go test -bench Benchmark -run ^$
2026-02-17 16:58:00 +01:00
clean:
go clean
rm .cover