Files
gotools/Makefile
T

26 lines
315 B
Makefile
Raw Normal View History

2024-11-20 18:47:02 +01:00
.DEFAULT_GOAL := all
# seems superfluous
#.PHONY: fmt vet build clean
fmt:
go fmt ./...
vet: fmt
go vet ./...
build: vet
mkdir -p bin
go build -o bin ./cmd/...
2024-12-25 00:10:11 +01:00
install:
go install ./...
2024-11-20 18:47:02 +01:00
test: build
go test -count=1 -coverprofile=testout/coverage.out ${TESTFLAGS} ./...
clean:
rm -rf bin
all: build