Files
wonderwall/Makefile
Trong Huu Nguyen acede833c8 build: use defacto image, build module for buildinfo
Building specific file doesn't appear to embed buildinfo into the static
binary for some reason.
2023-11-28 16:15:51 +01:00

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 ./