summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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