-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
36 lines (29 loc) · 747 Bytes
/
Copy pathjustfile
File metadata and controls
36 lines (29 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# justfile - Project unified command entry
set shell := ["pwsh", "-c"]
# check
check:
cargo check &
cd .. && cd antd-admin && pnpm lint
# Development mode: start backend + web together
dev:
just dev-backend &
just dev-web
# Start Rust backend (with hot reload)
dev-backend:
cargo watch -x run -w src
# Start web (Vite dev mode)
dev-web:
cd ./ && cd antd-admin && pnpm dev
# Build all (production)
build:
just build-backend
just build-web
# Build Rust backend release
build-backend:
cargo build --release && copy ./config.toml ./target/release/config.toml
# Build web production bundle
build-web:
cd ./ && cd antd-admin && pnpm build
# Clean build outputs
clean:
rm -rf /target ../antd-admin/dist