aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile12
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7b85325
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+minibin \ No newline at end of file
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3d249c1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+.ONESHELL:
+.PHONY: minibin
+
+minibin:
+ cd client && bun install && bun run build --emptyOutDir
+ cd ../server && go build
+ cp minibin ../minibin
+
+clean:
+ rm -rf server/dist
+ rm server/minibin
+ rm minibin \ No newline at end of file