-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
29 lines (21 loc) · 732 Bytes
/
Justfile
File metadata and controls
29 lines (21 loc) · 732 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
run:
cargo run
test:
cargo test
fmt:
cargo fmt --all
lint:
cargo clippy --all-targets --all-features
ci: fmt lint test
# Recording recipes (require vhs: https://github.com/charmbracelet/vhs)
record: record-demo record-screenshots
record-demo:
@which vhs >/dev/null 2>&1 || { echo "error: vhs not found — install from https://github.com/charmbracelet/vhs"; exit 1; }
cargo build --release
vhs assets/demo.tape
record-screenshots:
@which vhs >/dev/null 2>&1 || { echo "error: vhs not found — install from https://github.com/charmbracelet/vhs"; exit 1; }
cargo build --release
vhs assets/screenshot-main.tape
vhs assets/screenshot-diff.tape
vhs assets/screenshot-commit.tape