Can generate release builds

This commit is contained in:
2023-12-12 15:45:56 +01:00
parent f651c756b6
commit e8422f4b3c
11 changed files with 143 additions and 11 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
all: frontend backend
frontend:
cd virtweb_frontend && npm run build && cd ..
rm -rf virtweb_backend/static
mv virtweb_frontend/build virtweb_backend/static
backend: frontend
cd virtweb_backend && cargo clippy -- -D warnings && cargo build --release