diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,8 +4,8 @@ VERSION = $(shell git describe --tags) # BUILDTIME = $(shell date +%Y.%m.%d_%H%M) BUILDTIME = $(shell date +%s) -all: build - ./forged repos +all: install + forged repos build: goimports GO111MODULE=off go build \ @@ -36,13 +36,13 @@ start: stop: -systemctl stop forged.service -run: build stop - ./forged --daemon +run: install stop + forged --daemon # setcap 'cap_net_bind_service=+ep' forged # allow the binary to open ports below 1024 # -run-clean: build +run-clean: install -rm /var/lib/forged/all-patches.pb - ./forged --daemon + forged --daemon # setcap 'cap_net_bind_service=+ep' forged # allow the binary to open ports below 1024 prod: build |
