summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-27 11:16:33 -0500
committerJeff Carr <[email protected]>2025-09-27 11:17:35 -0500
commit8d311c65a7583b0da58d2c9870301acdf93ccb0d (patch)
tree94fa94f170c00c209b2c43220a94f2f3f9df67f8 /Makefile
parent80d3e94284766490cfa4dac8e9fb1e6d0c64b360 (diff)
add devel branchesv0.0.55
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index cbc480b..e392d12 100644
--- a/Makefile
+++ b/Makefile
@@ -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