diff options
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 |
