summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-02-06 16:57:37 +0300
committerGrail Finder <wohilas@gmail.com>2025-02-06 16:57:37 +0300
commit884004a855980444319769d9b10f9cf6e3ba33cd (patch)
tree3753697d0dd0e341595a1e15fb8aee9f1c06833b /Makefile
parent6676b7d12b3bb381fdfacea816d50e9b86f9333d (diff)
Enha: server update
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ec1cfa7..4e96ed5 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@
run: setconfig
go build -o elefant && ./elefant
+server: setconfig
+ go build -o elefant && ./elefant -port 3333
+
setconfig:
find config.toml &>/dev/null || cp config.example.toml config.toml