Files
gnoma/Makefile
vikingowl f909733bff chore: init project scaffolding
Go 1.26 module (somegit.dev/Owlibou/gnoma), Makefile with
build/test/lint targets, CLAUDE.md with project conventions,
placeholder main.go, and .gitignore.
2026-04-02 18:08:40 +02:00

37 lines
511 B
Makefile

.PHONY: build test lint cover clean fmt vet
BINARY := gnoma
BINDIR := ./bin
MODULE := somegit.dev/Owlibou/gnoma
build:
go build -o $(BINDIR)/$(BINARY) ./cmd/gnoma
test:
go test ./...
test-v:
go test -v ./...
test-integration:
go test -tags integration ./...
cover:
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
lint:
golangci-lint run ./...
fmt:
gofmt -w .
vet:
go vet ./...
clean:
rm -rf $(BINDIR) coverage.out coverage.html
tidy:
go mod tidy