summaryrefslogtreecommitdiff
path: root/Omni/Ide/repl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Ide/repl.sh')
-rwxr-xr-xOmni/Ide/repl.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Omni/Ide/repl.sh b/Omni/Ide/repl.sh
index d4ff200..ad6bc02 100755
--- a/Omni/Ide/repl.sh
+++ b/Omni/Ide/repl.sh
@@ -30,7 +30,8 @@ fi
shift
fi
targets="${*:?}"
- json=$(bild --plan "${targets[@]}")
+ # Extract only the JSON line from bild --plan output (skip progress indicators)
+ json=$(bild --plan "${targets[@]}" 2>&1 | grep -E '^\{')
mapfile -t langdeps < <(jq --raw-output '.[].langdeps | select(length > 0) | join("\n")' <<< "$json")
mapfile -t sysdeps < <(jq --raw-output '.[].sysdeps | select(length > 0) | join("\n")' <<< "$json")
mapfile -t rundeps < <(jq --raw-output '.[].rundeps | select(length > 0) | join("\n")' <<< "$json")