-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
46 lines (35 loc) · 862 Bytes
/
justfile
File metadata and controls
46 lines (35 loc) · 862 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
37
38
39
40
41
42
43
44
45
46
# dioxus-inspector build commands
# Build all workspace members
build:
cargo build
# Build release
release:
cargo build --release
# Run tests
test:
cargo test
# Run tests with output
test-verbose:
cargo test -- --nocapture
# Check code (format + clippy)
check:
cargo fmt --check
cargo clippy -- -D warnings
# Format code
fmt:
cargo fmt
# Run playground app
playground:
cargo run -p playground
# Run playground with hot reload
dev:
@./scripts/dev-serve.sh
# Run playground with hot reload (fullscreen)
dev-fs monitor="0":
@./scripts/dev-serve.sh {{monitor}} fullscreen
# List available monitors
monitors:
DI_LIST_MONITORS=1 cargo run -p playground 2>/dev/null
# Run playground fullscreen on monitor N (default: 0)
playground-fs monitor="0":
DI_FULLSCREEN=1 DI_MONITOR={{monitor}} cargo run -p playground