diff --git a/.mise.toml b/.mise.toml index 110fca4c..7fd46c5d 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,5 +1,10 @@ [tools] uv = "latest" +dotnet = [ + { version="9.0.304", os=[ "linux", "macos"] }, + { version="9.0.8", os=[ "windows"] }, +] +"dotnet:MarkdownSnippets.Tool" = "latest" [env.'_'.python] venv = { path = ".venv", create = true, uv_create_args = ["--seed", "--quiet"] } @@ -21,3 +26,5 @@ depends = ["pip-install"] [settings] # we put the python version in the .python-version file instead of here so that it's easy to override in the CI matrix idiomatic_version_file_enable_tools = ["python"] +# dotnet backend is experimental +experimental = true diff --git a/run_mdsnippets.sh b/run_mdsnippets.sh index d8762d79..54122438 100755 --- a/run_mdsnippets.sh +++ b/run_mdsnippets.sh @@ -1,5 +1,4 @@ #!/bin/bash set -euo pipefail -dotnet tool install --global MarkdownSnippets.Tool -mdsnippets . +mise exec -- mdsnippets .