Repository navigation
Expand file tree
/
Copy pathmise.toml
More file actions
93 lines (69 loc) · 2.65 KB
/
Copy pathmise.toml
File metadata and controls
93 lines (69 loc) · 2.65 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
min_version = "2026.10.22"
[settings]
idiomatic_version_file_enable_tools = ["rust"]
[tools]
rust = { version = "1.99.1", profile = "minimal", components = ["clippy", "rustfmt", "rust-analyzer", "rust-src"], mr_boxington = true }
mr-boxington = "1.29.1"
"cargo:bacon" = "3.24.0"
"aqua:nextest-rs/nextest/cargo-nextest" = "0.9.143"
"github:bahdotsh/wrkflw" = "0.8.0"
[env]
MBX_SCHEDULER_TESTS = "1"
RUSTDOCFLAGS = "-D warnings"
[bootstrap.repos]
".agents/repos/sylph" = { url = "https://github.com/bluenote-1577/sylph.git" }
[tasks.check]
description = "Check formatting, lints, tests, documentation, and schema"
run = [{ task = "fmt-check" }, { task = "lint" }, { task = "lint-no-default-features" }, { task = "test" }, { task = "test-no-default-features" }, { task = "test-doc" }, { task = "doc-check" }, { task = "schema-check" }]
[tasks.schema]
description = "Regenerate the configuration schema"
run = "cargo run --locked -- schema > axylph.schema.json"
[tasks.schema-check]
description = "Check that the configuration schema is up to date"
run = "tmp=$(mktemp); trap 'rm -f \"$tmp\"' EXIT; cargo run --locked -- schema > \"$tmp\" && cmp \"$tmp\" axylph.schema.json"
[tasks.fmt-check]
run = "cargo fmt --all -- --check"
[tasks.fmt]
run = "cargo fmt --all"
[tasks.lint]
run = "cargo clippy --locked --all-targets --all-features -- -D warnings"
[tasks.test]
run = "cargo nextest run --locked --all-features --no-tests=pass"
[tasks.lint-no-default-features]
description = "Lint without optional features"
run = "cargo clippy --locked --all-targets --no-default-features -- -D warnings"
[tasks.test-no-default-features]
description = "Test without optional features"
run = "cargo nextest run --locked --no-default-features --no-tests=pass"
[tasks.test-all]
run = "cargo nextest run --locked --all-features --no-tests=pass --run-ignored all"
[tasks.test-doc]
description = "Test library examples when the package has a library"
run = "if [ -f src/lib.rs ]; then cargo test --doc --locked --all-features; else echo 'No library target: no doctests to run.'; fi"
[tasks.doc-check]
run = "cargo doc --locked --all-features --no-deps"
[tasks.check-compile]
run = "cargo check --locked --all-targets --all-features"
[tasks.build]
alias = "b"
run = "cargo build --locked"
[tasks.build-release]
run = "cargo build --locked --release"
[tasks.ci-validate]
run = "wrkflw validate .github/workflows/ci.yml"
[tasks."bacon:check"]
alias = "bc"
interactive = true
run = "bacon check"
[tasks."bacon:build"]
alias = "bb"
interactive = true
run = "bacon build"
[tasks."bacon:nextest"]
alias = "bn"
interactive = true
run = "bacon nextest"
[tasks."mbx:tui"]
alias = "mt"
interactive = true
run = "mbx tui"