-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtasks.toml
More file actions
63 lines (48 loc) · 1.57 KB
/
tasks.toml
File metadata and controls
63 lines (48 loc) · 1.57 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
run = "cargo run -p odict-cli"
[clean]
run = "cargo clean"
description = "Removes all Rust build artifacts via Cargo"
["clean:all"]
run = "git clean -xdf"
description = "Recursively cleans all packages in the project"
["snapshot"]
run = "cargo insta accept"
description = "Updates all Insta snapshot tests"
[bench]
run = "cargo bench"
description = "Runs benchmarks for all Cargo packages"
[why]
run = "cargo tree -i"
[lint]
depends = ["lint:*"]
run = "cargo clippy --all-targets --all-features -- -D warnings"
[fix]
depends = ["fix:*"]
run = "cargo clippy --all-targets --all-features --fix --allow-dirty -- -D warnings"
[test]
run = "cargo nextest run -p odict-cli -p odict -p internal --all-features --verbose"
description = "Runs nextest on all Cargo packages"
["test-all"]
depends = ["test", "test:*"]
description = "Recursively tests all packages in the project"
["upgrade"]
depends = ["upgrade:*"]
run = "cargo upgrade"
description = "Updates all dependencies to their latest versions"
[setup]
run = ["mise install", "corepack prepare", "corepack enable", "yarn install"]
depends_post = ["setup:*"]
description = "Installs all required dependencies"
["build-all"]
depends = ["build:*"]
description = "Recursively builds all packages in the project"
["format"]
depends = ["format:*"]
run = "cargo fmt --all -- **/*.rs"
description = "Format all Rust files"
["ci"]
run = 'mise x act -- act {{arg(name="workflow", default="ci")}} --container-architecture linux/amd64 --bind --job {{arg(name="job_id")}}'
hide = true
["default"]
run = "mise run build"
description = "Builds the project"