VirtWeb/Makefile

10 lines
255 B
Makefile
Raw Permalink Normal View History

2023-12-12 14:45:56 +00:00
all: frontend backend
frontend:
cd virtweb_frontend && npm run build && cd ..
rm -rf virtweb_backend/static
2023-12-12 15:55:06 +00:00
mv virtweb_frontend/dist virtweb_backend/static
2023-12-12 14:45:56 +00:00
backend: frontend
cd virtweb_backend && cargo clippy -- -D warnings && cargo build --release