summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0939820..eb6fa4e 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,12 @@ run: build
./forged --port 2233 --hostname forge.wit.com
# setcap 'cap_net_bind_service=+ep' forged # allow the binary to open ports below 1024
+prod: build
+ make stop
+ cp forged /usr/bin/forged
+ make start
+ make log
+
goimports:
reset
goimports -w *.go