summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 06:53:30 -0500
committerJeff Carr <[email protected]>2025-03-10 07:59:25 -0500
commit22d07987494113dc85542b753c3ecc7e9db37511 (patch)
treea76bb478607a1edc58390497103a84312a7c6359 /Makefile
parent2e10a2a0d96da83838dfab34015595b05dcc9058 (diff)
events table
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"