1
0
textfmt/Makefile

26 lines
324 B
Makefile
Raw Normal View History

2025-09-11 21:16:09 +02:00
SOURCES = $(shell find . -name "*.go")
default: build
build: $(SOURCES)
go build
fmt: $(SOURCES)
go fmt
2025-10-10 15:47:36 +02:00
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
clean:
go clean
rm .cover