mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-06 16:36:51 +00:00
17 lines
374 B
Makefile
17 lines
374 B
Makefile
wonderwall:
|
|
go build -trimpath -ldflags "-s -w" -a -o bin/wonderwall cmd/wonderwall/main.go
|
|
|
|
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 ./
|