summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ad8155e..ae508bb 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,8 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
-all: portmap.pb.go build
- ./gus --version
- ./gus --no-gui --config /etc/gus/gus.text
+all: proto build
+ ./gus --config /etc/gus/gus.text
gocui: build
./gus --gui gocui --config /etc/gus/gus.text >/tmp/gocui.log 2>&1
@@ -36,9 +35,14 @@ clean:
rm -f go.* *.pb.go
rm -f gus
+proto: portmap.pb.go event.pb.go
+
portmap.pb.go: portmap.proto
autogenpb --proto portmap.proto
+event.pb.go: event.proto
+ autogenpb --proto event.proto
+
list:
curl "http://localhost:2522/list"