mu-go/Makefile
2022-08-22 00:00:05 +02:00

9 lines
202 B
Makefile

build: fmt
CGO_ENABLED=0 go build -ldflags '-s -w' -v -o bin/main ./
tool-gofumpt:
which golangci-lint > /dev/null 2>&1 || go install mvdan.cc/gofumpt@latest
fmt: tool-gofumpt
gofumpt -w --extra .