-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
67 lines (46 loc) · 1.15 KB
/
Copy pathjustfile
File metadata and controls
67 lines (46 loc) · 1.15 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
set shell := ["bash", "-uc"]
bootstrap:
./scripts/bootstrap.sh
install-githooks:
./scripts/install_githooks.sh
env-check:
./scripts/check_environment.sh
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all --check
lint:
cargo clippy --workspace --all-targets --all-features -- -D warnings
test:
cargo nextest run --workspace --all-features
cargo test --doc --workspace
test-basic:
cargo test --workspace
test-doc:
cargo test --doc --workspace
check:
cargo check --workspace --all-targets
doc:
cargo doc --workspace --no-deps
doc-open:
cargo doc --workspace --no-deps --open
docs-remind:
./scripts/doc_sync_reminder.sh
cov:
cargo llvm-cov nextest --workspace --all-features
deny:
cargo deny check
verify-basic: fmt-check check test-basic
# Clean build artifacts older than N days (default: 7)
sweep days="7":
cargo sweep --time {{days}}
# Clean all unused build artifacts
sweep-all:
cargo sweep --all
# Watch for file changes and auto-run tests
watch-test:
cargo watch -x test
# Watch for file changes and auto-run check
watch-check:
cargo watch -x check
verify: fmt-check lint test