SolarEnergy/Makefile

12 lines
277 B
Makefile
Raw Normal View History

2024-08-07 14:44:30 +00:00
DOCKER_TEMP_DIR=temp
all: frontend backend
frontend:
cd central_frontend && npm run build && cd ..
rm -rf central_backend/static
mv central_frontend/dist central_backend/static
backend: frontend
cd central_backend && cargo clippy -- -D warnings && cargo build --release