summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-09 01:54:41 -0600
committerJeff Carr <[email protected]>2025-03-09 01:54:41 -0600
commit93852523e66c2646c8997c014f7c060b7baf0df8 (patch)
treee4033a5b52b702493c83d02bf28b14c03bc95689 /Makefile
parentb7003bbc767a66e2285c8d1c3b5a068a63af0efe (diff)
protobuf for settings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3aa8725..c361aa4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
-all: build
+all: portmap.pb.go goimports vet build
./gus --version
./gus
@@ -25,6 +25,13 @@ debian:
goimports:
goimports -w *.go
+vet:
+ @GO111MODULE=off go vet
+ @echo this go binary package builds okay
+
clean:
rm -f go.*
rm -f gus
+
+portmap.pb.go: portmap.proto
+ autogenpb --proto portmap.proto