chore: add Makefile
This commit is contained in:
parent
811e348697
commit
717aaf1463
11
Makefile
Normal file
11
Makefile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
build: build-server build-web-interface
|
||||||
|
echo "done"
|
||||||
|
|
||||||
|
build-server:
|
||||||
|
CGO_ENABLED=1 go build -C "./main" -o ../start
|
||||||
|
|
||||||
|
build-server-start: build-server
|
||||||
|
chmod +x ./start; ./start
|
||||||
|
|
||||||
|
build-web-interface:
|
||||||
|
cd www && npm run build
|
||||||
Loading…
Reference in New Issue
Block a user