Compare commits

...
Author SHA1 Message Date
sneak 49457a6abf more idiomatic makefile
check / check (push) Successful in 2m9s
2026-11-06 20:29:02 -08:00
sneak fe1fbeb177 Merge pull request 'Milestone: repo standards and macOS support' (#6) from next into main
check / check (push) Successful in 2m6s
Reviewed-on: #6
2026-11-07 05:24:17 +01:00
+4 -2
View File
@@ -3,7 +3,7 @@
# Target bodies live in script/ (Scripts to Rule Them All); the targets
# below are thin shims that call them.
.DEFAULT_GOAL := check
.DEFAULT_GOAL := build
VERSION ?= $(shell git describe --tags --always)
@@ -37,7 +37,9 @@ cibuild:
hooks:
@script/install-precommit
build:
build: ./bin/rtnetmon
./bin/rtnetmon: ./cmd ./internal go.sum go.mod
CGO_ENABLED=0 go build -trimpath -ldflags "-X main.Version=$(VERSION)" \
-o bin/rtnetmon ./cmd/rtnetmon