aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaster4385 <blaster4385@tablaster.dev>2024-02-20 17:37:02 +0530
committerBlaster4385 <blaster4385@tablaster.dev>2024-04-30 11:10:21 +0530
commit4754f4a0c0135af6cb36a6dda68203026058f58f (patch)
tree3ff553403ed24157da31775e4bbfc7fd959dbf04
parent3d8c332ad6deb0ea570393ca535c75dc524315bb (diff)
build: added makefile
-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