-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
42 lines (32 loc) · 862 Bytes
/
Copy pathjustfile
File metadata and controls
42 lines (32 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
# Common dev cycles. Install just: https://github.com/casey/just
# Run: just <recipe>
set windows-shell := ["cmd.exe", "/c"]
# default: list recipes
default:
@just --list
# Compile-check the crate (no codegen).
check:
cargo check --all-targets
# Strict check: format + clippy + check, exactly what CI runs.
ci:
cargo fmt --all -- --check
cargo clippy --all-targets -- -D warnings
cargo check --all-targets
# Run the inspector against the bundled fixture (paced replay).
demo:
cargo run --example demo_emit | cargo run
# Same demo at 4x speed.
demo-fast:
cargo run --example demo_emit -- --speed 4 | cargo run
# Format the whole crate.
fmt:
cargo fmt --all
# Run the test suite.
test:
cargo test --all-targets
# Build a release binary.
build:
cargo build --release
# Wipe build artifacts.
clean:
cargo clean