build: added makefile
This commit is contained in:
parent
3d8c332ad6
commit
4754f4a0c0
2 changed files with 13 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
minibin
|
12
Makefile
Normal file
12
Makefile
Normal 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
|
Loading…
Reference in a new issue