wand/Makefile

22 lines
319 B
Makefile
Raw Normal View History

2025-08-18 14:24:31 +02:00
SOURCES = $(shell find . -name "*.go")
default: build
build: $(SOURCES)
go build ./...
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
fmt: $(SOURCES)
go fmt ./...