This commit is contained in:
Danilo Reyes
2026-02-08 15:00:30 -06:00
parent 4fb24672bf
commit e0aa2b337e

View File

@@ -36,10 +36,14 @@
ruff
];
text = ''
if [ ! -x ./scripts/mcp-server/run-tests.sh ]; then
echo "Expected ./scripts/mcp-server/run-tests.sh to be executable from repo root." >&2
exit 1
fi
start_dir="$PWD"
while [ ! -x ./scripts/mcp-server/run-tests.sh ]; do
if [ "$PWD" = "/" ]; then
echo "Could not find executable scripts/mcp-server/run-tests.sh starting from $start_dir" >&2
exit 1
fi
cd ..
done
exec bash ./scripts/mcp-server/run-tests.sh "$@"
'';
};