aboutsummaryrefslogtreecommitdiff
path: root/server/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'server/makefile')
-rw-r--r--server/makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/makefile b/server/makefile
new file mode 100644
index 0000000..92df533
--- /dev/null
+++ b/server/makefile
@@ -0,0 +1,9 @@
+# makefile is stupid but helps with installation
+.PHONY: release run watch
+release: target/release/keks-meet
+run:
+ cargo +stable run --release
+watch:
+ systemfd --no-pid -s http::8080 -- cargo watch -x '+stable run'
+target/release/keks-meet: $(shell find src) Cargo.toml
+ cargo +stable build --release