all: frontend backend

frontend:
	cd virtweb_frontend && npm run build && cd ..
	rm -rf virtweb_backend/static
	mv virtweb_frontend/dist virtweb_backend/static

backend: frontend
	cd virtweb_backend && cargo clippy -- -D warnings && cargo build --release