aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-04 10:58:27 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-04 10:58:27 +0200
commit4ba4a7c2fc0263c95d24a6bf40e42e4a39ae244e (patch)
tree35c3502e7267c231f23db5b823e337655a3103be
parentd07d4ca12ada66d9b1da5982ac80c8e5a4d31409 (diff)
Allow specifying a custom port
-rw-r--r--GNUmakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d117a1a..3d7ec2c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,4 +1,5 @@
-GO := go
+GO := go
+PORT := 8080
cssfiles := $(shell find static -name '*.css' -not -name '*.min.css')
cssfiles := $(cssfiles:.css=.min.css)
@@ -65,6 +66,6 @@ clean:
\) -delete
debug:
- ./euro-cash.eu -debug -no-email -db-name :memory:
+ ./euro-cash.eu -debug -no-email -db-name :memory: -port $(PORT)
-.PHONY: clean debug extract po release \ No newline at end of file
+.PHONY: clean debug extract po release