15 lines
608 B
Bash
Executable file
15 lines
608 B
Bash
Executable file
#!/bin/bash
|
|
# Parse-Check über alle geänderten/neuen Scripts (Karte t_3a998ae4)
|
|
cd "$(dirname "$0")/.."
|
|
GODOT=/opt/data/home/bin/godot4
|
|
fail=0
|
|
for f in src/ui/main.gd src/ui/inspector_panel.gd tests/test_inspector.gd src/editor/test_run.gd src/editor/library_browser.gd core/editor/object_ops.gd \
|
|
src/editor/interaction.gd tools/gen_thumbs.gd tests/test_library.gd; do
|
|
out=$("$GODOT" --headless --path . --check-only --script "res://$f" 2>&1 | grep -iv "godot engine\|^$" || true)
|
|
if [ -n "$out" ]; then
|
|
echo "FAIL $f:"; echo "$out"; fail=1
|
|
else
|
|
echo "OK $f"
|
|
fi
|
|
done
|
|
exit $fail
|