1 parent
fe1fbeb177
commit
49457a6abf
1 file changed
+4
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user