-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathmise.toml
More file actions
53 lines (44 loc) · 1.07 KB
/
mise.toml
File metadata and controls
53 lines (44 loc) · 1.07 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
[env]
_.path = "target/debug"
[tasks.ci]
depends = ["lint", "build", "docs:build"]
run = [
"cargo nextest run",
"test/bats/bin/bats test",
]
[tasks."docs:build"]
dir = "docs"
run = "bun i && exec bun run docs:build"
[tasks.docs]
dir = "docs"
run = "bun i && exec bun run docs:dev"
[tasks.lint]
run = "hk check --all"
[tasks.lint-fix]
run = "hk fix --all"
[tasks.build]
run = "cargo build"
[tasks.render]
depends = ["build"]
run = [
"pitchfork usage > pitchfork.usage.kdl",
"rm -rf docs/cli && mkdir -p docs/cli",
"usage g markdown -mf pitchfork.usage.kdl --out-dir docs/cli --url-prefix /cli",
"usage g json -f pitchfork.usage.kdl > docs/cli/commands.json",
"pitchfork schema > docs/public/schema.json",
"git add pitchfork.usage.kdl docs",
]
[tasks.install-dev]
env = { "PITCHFORK_LOG" = "debug" }
run = [
"cargo install --path . --debug",
"pitchfork sup start -f",
]
[tools]
bun = "latest" # for docs and test
cargo-binstall = "latest"
communique = "latest"
hk = "latest"
pkl = "latest"
usage = "latest" # for rendering CLI usage
"cargo:cargo-nextest" = "latest"