-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
45 lines (36 loc) · 1.25 KB
/
Copy pathmise.toml
File metadata and controls
45 lines (36 loc) · 1.25 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
# Developer toolchain for duodiff, pinned so contributors and CI resolve the same
# versions. Run `mise install` to provision everything, then `mise run check`
# before committing. See https://mise.jdx.dev.
[tools]
rust = { version = "stable", components = "rustfmt,clippy" }
"github:asciinema/asciinema" = "3.2.1"
"github:asciinema/agg" = "1.9.0"
[tasks.fmt]
description = "Check formatting (rustfmt)"
run = "cargo fmt --check"
[tasks.lint]
description = "Clippy with warnings denied"
run = "cargo clippy --all-targets -- -D warnings"
[tasks.test]
description = "Run the test suite (locked)"
run = "cargo test --locked"
[tasks.check]
description = "Verification gate — fmt, lint, test, check (all must pass)"
run = [
"cargo fmt --check",
"cargo clippy --all-targets -- -D warnings",
"cargo test --locked",
"cargo check",
]
[tasks.run]
description = "Launch the TUI"
run = "cargo run"
[tasks.demo-gif]
description = "Regenerate the README demo recording and GIF"
run = "scripts/demo/record.sh"
[tasks.demo-png]
description = "Regenerate still PNG screenshots of individual screens (outputs to website/*.png)"
run = "scripts/demo/shots.sh"
[tasks.demo]
description = "Regenerate both the demo GIF and the still PNG screenshots"
depends = ["demo-gif", "demo-png"]