diff options
| author | Jeff Carr <[email protected]> | 2025-03-10 03:12:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-10 07:59:25 -0500 |
| commit | fba2d24625d844b7f6115a6cb86f7fc6e1f9e3d5 (patch) | |
| tree | f1e787166b7a9f9d54c9551b9bf3db6d89fc1e46 /Makefile | |
| parent | dfbb8090acaba51ab29368202e5c97fd18856558 (diff) | |
start making it work in the real world
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -3,12 +3,14 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d_%H%M) -all: portmap.pb.go goimports vet build +all: portmap.pb.go build ./gus --version - ./gus --no-gui - # ./gus --gui gocui >/tmp/gocui.log 2>&1 + ./gus --no-gui --config /etc/gus/gus.text -build: goimports +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}" @@ -36,3 +38,6 @@ clean: portmap.pb.go: portmap.proto autogenpb --proto portmap.proto + +list: + curl "http://localhost:2522/list" |
