diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -7,7 +7,7 @@ BUILDTIME = $(shell date +%Y.%m.%d_%H%M) # REDOMOD = $(shell if [ -e go.mod ]; then echo go.mod; else echo no go mod; fi) REDOMOD = $(shell if [ -e go.sum ]; then echo go.sum exists; else GO111MODULE= go mod init; GO111MODULE= go mod tidy; fi) -all: goimports gocui +all: goimports gocui-debugging # ./zookeeper vet: @@ -21,7 +21,7 @@ gocui: build ./zookeeper --gui gocui gocui-debugging: build - ./zookeeper --gui gocui >/tmp/forge.log 2>&1 + ./zookeeper --gui gocui --gui-file ~/go/src/go.wit.com/toolkits/gocui/gocui.so >/tmp/forge.log 2>&1 build: goimports vet GO111MODULE=off go build -v -x \ @@ -63,3 +63,6 @@ http-toogle-ZOOD: http-list-machines: curl --silent http://localhost:8080/list + +http-uptime: + curl --silent http://localhost:8080/uptime |
