Skip to content

Commit 7db99f0

Browse files
committed
🔧 config: add prerequisites to mise tools
1 parent 66c2707 commit 7db99f0

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

‎mise.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[tools]
2+
uv = "latest"
3+
"pipx:copier" = { version = "latest", uvx_args = "--with copier-templates-extensions"}
4+
15
# --- Documentation -----------------------------------------------------------
26

37
[tasks."docs:check"]

‎template/mise.toml.jinja‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
# Task definitions for {{ project_name }}
22
# Run `mise tasks` to list all available tasks.
33

4+
[tools]
5+
uv = "latest"
6+
pre-commit = "latest"
7+
{% if with_doppler -%}
8+
doppler = { version = "latest", exe = "doppler" }
9+
{%- endif %}
10+
411
# --- Setup -------------------------------------------------------------------
512

613
[tasks."setup:prod"]
714
description = "Set up the project environment"
815
quiet = true
9-
run = "uv sync --no-dev --no-editable"
16+
run = ["mise install", "uv sync --no-dev --no-editable"]
1017

1118
[tasks."setup:dev"]
1219
description = "Set up the development environment"
1320
quiet = true
14-
run = ["uv sync", "uv run pre-commit install -f"]
21+
run = ["mise install", "uv sync", "uv run pre-commit install -f"]
1522
{% if with_typer_cli %}
1623
[tasks."setup:cli"]
1724
description = "Install the project CLI globally via uv"

0 commit comments

Comments
 (0)