mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-06 08:27:10 +00:00
Building specific file doesn't appear to embed buildinfo into the static binary for some reason.
17 lines
368 B
Makefile
17 lines
368 B
Makefile
wonderwall:
|
|
go build -trimpath -ldflags "-s -w" -a -o bin/wonderwall ./cmd/wonderwall
|
|
|
|
run: fmt
|
|
go run cmd/wonderwall/main.go
|
|
|
|
test: fmt
|
|
go test -count=1 -shuffle=on ./... -coverprofile cover.out
|
|
|
|
check:
|
|
go vet ./...
|
|
go run honnef.co/go/tools/cmd/staticcheck ./...
|
|
go run golang.org/x/vuln/cmd/govulncheck -show=traces ./...
|
|
|
|
fmt:
|
|
go run mvdan.cc/gofumpt -w ./
|