build: added makefile

This commit is contained in:
Blaster4385 2024-02-20 17:37:02 +05:30
parent 3d8c332ad6
commit 4754f4a0c0
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
minibin

12
Makefile Normal file
View file

@ -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