12 lines
277 B
Makefile
12 lines
277 B
Makefile
|
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
|