Skip to content

Commit 4b342f0

Browse files
committed
fix: scope shellcheck/shfmt as task-level tools; drop from global [tools]
Declaring them in [tools] caused mise to attempt installation on every task run, blocking all tasks when GitHub's API is rate-limited. Moving them to #MISE tools={} in the tasks that actually need them means they're only resolved for shell:check and shell:format.
1 parent 86bd0ae commit 4b342f0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

mise-tasks/shell/check.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
2-
#MISE description="Run shellcheck on all shell scripts (scripts/ and mise-tasks/)"
2+
#MISE description="Run after editing any .sh or mise-tasks/ file"
3+
#MISE tools={shellcheck="system"}
34

45
set -euo pipefail
56

mise-tasks/shell/format.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
2-
#MISE description="Format all shell scripts in place with shfmt (scripts/ and mise-tasks/)"
2+
#MISE description="Run after editing any .sh or mise-tasks/ file"
3+
#MISE tools={shfmt="system"}
34

45
set -euo pipefail
56

mise.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ _.path = ["./bin"]
1818
[tools]
1919
flutter = "3.38.3"
2020
node = "22" # For http_server and Playwright e2e tests
21-
shellcheck = "0.9.0"
22-
shfmt = "3.8.0"
2321

2422
[deps.flutter]
2523
auto = true

0 commit comments

Comments
 (0)