diff options
| author | Jeff Carr <[email protected]> | 2024-12-14 10:47:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-14 10:47:08 -0600 |
| commit | dead6fe01f7599fc3b6a6b1ee77a9e69e7b325d1 (patch) | |
| tree | e28026f0e331b4c7e80e3fb83f92e191298953eb /Makefile | |
| parent | 0775662416320c07651061e6e59b0cae217a9e2b (diff) | |
new args. use forgepb for versions and dates
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -13,7 +13,7 @@ all: build @echo "make enable # enable daemon on boot" @echo "make log # watch the daemon log" -build: +build: goimports GO111MODULE=off go build \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" @@ -27,7 +27,7 @@ install: log: @#systemctl status gowebd.service - @journalctl -f -xeu gowebd.service + journalctl -f -xeu gowebd.service enable: systemctl enable gowebd.service @@ -43,17 +43,13 @@ stop: systemctl stop gowebd.service run: build - ./gowebd --port 2233 + ./gowebd --port 2233 --repomap resources/repomap --hostname test.wit.com # setcap 'cap_net_bind_service=+ep' gowebd # allow the binary to open ports below 1024 goimports: + reset goimports -w *.go -redomod: - rm -f go.* - GO111MODULE= go mod init - GO111MODULE= go mod tidy - clean: rm -f go.* rm -f go.wit.com |
