add MISE_EXPERIMENTAL=1

This commit is contained in:
MickLesk
2026-07-02 23:19:39 +02:00
parent 20ee92cc32
commit 4adb74e304
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -205,7 +205,10 @@ EOF
cd "$SRC_DIR"
export MISE_TRUSTED_CONFIG_PATHS="$SRC_DIR"/mise.toml
export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg
# mise v2026.7.0 renamed 'experimental_monorepo_root' to 'monorepo_root'; ensure both are set so the //:plugins task works regardless of mise version
# mise gates monorepo task paths (//:plugins) behind experimental mode and renamed the
# 'experimental_monorepo_root' setting to 'monorepo_root' in v2026.7.0. Set the env flag and
# ensure both config keys are present so the task works regardless of the installed mise version.
export MISE_EXPERIMENTAL=1
grep -q '^monorepo_root = true' "$SRC_DIR"/mise.toml || sed -i 's/^experimental_monorepo_root = true/monorepo_root = true\nexperimental_monorepo_root = true/' "$SRC_DIR"/mise.toml
$STD mise //:plugins
mkdir -p "$PLUGIN_DIR"
+4 -1
View File
@@ -350,7 +350,10 @@ cp LICENSE "$APP_DIR"
cd "$SRC_DIR"
export MISE_TRUSTED_CONFIG_PATHS="$SRC_DIR"/mise.toml
export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg
# mise v2026.7.0 renamed 'experimental_monorepo_root' to 'monorepo_root'; ensure both are set so the //:plugins task works regardless of mise version
# mise gates monorepo task paths (//:plugins) behind experimental mode and renamed the
# 'experimental_monorepo_root' setting to 'monorepo_root' in v2026.7.0. Set the env flag and
# ensure both config keys are present so the task works regardless of the installed mise version.
export MISE_EXPERIMENTAL=1
grep -q '^monorepo_root = true' "$SRC_DIR"/mise.toml || sed -i 's/^experimental_monorepo_root = true/monorepo_root = true\nexperimental_monorepo_root = true/' "$SRC_DIR"/mise.toml
$STD mise //:plugins
mkdir -p "$PLUGIN_DIR"