summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-09 03:09:39 -0500
committerJeff Carr <[email protected]>2025-10-09 03:09:39 -0500
commit9e211b6e180491199571ad17b200e4796c2f6117 (patch)
tree79547c0ba411e54fa5861d869403452379c6c5f1
parentd10f79f31ce22bd5564b752ddf3eae68c4456cf6 (diff)
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 16b464b..4d389d3 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,21 @@ generate: clean
go-generate:
rm -f *.pb.go *.patch
+gocui: build
+ ./gus --gui gocui --config /etc/gus/gus.text >/tmp/gocui.log 2>&1
+
+build: goimports vet
+ GO111MODULE=off go build -v -x \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+
+install: goimports vet
+ GO111MODULE=off go install \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+
+install-verbose: goimports vet
+ GO111MODULE=off go install -v -x \
+ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
+
goimports:
goimports -w *.go