-
Notifications
You must be signed in to change notification settings - Fork 546
Expand file tree
/
Copy pathmise.toml
More file actions
34 lines (29 loc) · 904 Bytes
/
mise.toml
File metadata and controls
34 lines (29 loc) · 904 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
30
31
32
33
34
[tasks.test]
description = "simulate CI locally (WIP)"
run = [
"mise run configlet lint",
"bin/lint_markdown.sh",
"shellcheck bin/*.sh",
"bin/check_exercises.sh",
"CLIPPY=true bin/check_exercises.sh",
"cd rust-tooling && cargo test",
"bin/format_exercises.sh ; git diff --exit-code",
]
[tasks.add-exercise]
depends = "symlink-problem-specifications"
run = "cd rust-tooling/generate; cargo run --quiet --release -- add"
[tasks.update-exercise]
depends = "symlink-problem-specifications"
run = "cd rust-tooling/generate; cargo run --quiet --release -- update"
[tasks.configlet]
depends = "fetch-configlet"
quiet = true
run = "bin/configlet"
[tasks.fetch-configlet]
hide = true
silent = true
run = "[ -f bin/configlet ] || bin/fetch-configlet"
[tasks.symlink-problem-specifications]
hide = true
silent = true
run = "[ -L problem-specifications ] || bin/symlink_problem_specifications.sh"