1
0
bind/Makefile
2025-08-27 21:03:25 +02:00

28 lines
349 B
Makefile

SOURCES = $(shell find . -name "*.go")
default: build
lib: $(SOURCES)
go build
build: lib
check: $(SOURCES) build
go test -count 1
.cover: $(SOURCES) build
go test -count 1 -coverprofile .cover
cover: .cover
go tool cover -func .cover
showcover: .cover
go tool cover -html .cover
fmt: $(SOURCES)
go fmt
clean:
go clean
rm -f .cover