Skip to content

Commit b6f5e10

Browse files
chore: move mise tools to setup_localdev task (#176)
Refactor mise.toml to remove global tool declarations and introduce a setup_localdev task for on-demand tool installation. This allows commands like `mise compose:deploy:release` to run without requiring all development tools to be installed on the host system. Changes: - Remove [tools] section with node, go, java, maven, and dotnet - Set auto_install = false to prevent automatic tool installation - Add setup_localdev task that installs all tools on-demand - Tools are installed globally and available across all projects Resolves #175 Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: James Eastham <jeastham1993@users.noreply.github.com>
1 parent 06e8017 commit b6f5e10

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

mise.toml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@ experimental_monorepo_root = true
44

55
[settings]
66
experimental = true
7-
auto_install = true
7+
auto_install = false
88

9-
[tools]
10-
# Used by CDK infrastructure and web-frontend/web-backend
11-
node = "22"
12-
13-
# Used by sticker-award
14-
go = "1.25"
15-
16-
# Used by sticker-catalogue
17-
java = "temurin-21"
18-
19-
# Used by sticker-catalogue
20-
maven = "3.9"
9+
# =============================================================================
10+
# setup: Local development environment setup
11+
# =============================================================================
2112

22-
# Used by user-management
23-
dotnet = "10"
13+
[tasks."setup_localdev"]
14+
description = "Install all development tools required for local development"
15+
run = """
16+
echo "Installing development tools..."
17+
mise use --global node@22
18+
mise use --global go@1.25
19+
mise use --global java@temurin-21
20+
mise use --global maven@3.9
21+
mise use --global dotnet@10
22+
echo "All development tools installed successfully!"
23+
echo "Tools can be activated by running 'mise activate' in your shell."
24+
"""
2425

2526
# =============================================================================
2627
# env: Environment setup

0 commit comments

Comments
 (0)