20 lines
733 B
Bash
20 lines
733 B
Bash
#!/bin/bash
|
|
# Parse-Check der Shortcuts-2-Karte (t_55257792): alle geänderten/neuen Scripts.
|
|
cd "$(dirname "$0")/.."
|
|
GODOT=/opt/data/home/bin/godot4
|
|
fail=0
|
|
for f in core/ui/main.gd core/viewport/orbit_camera.gd core/editor/shortcut_keys.gd \
|
|
core/editor/move_math.gd core/editor/shortcut_policy.gd \
|
|
core/editor/interaction.gd core/editor/object_ops.gd \
|
|
core/editor/build_tool.gd core/editor/terrain_tool.gd \
|
|
tests/test_shortcuts.gd tests/test_gui_smoke.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
|