19 lines
No EOL
670 B
Bash
19 lines
No EOL
670 B
Bash
#!/bin/bash
|
|
# Parse-Check der Shortcuts-1-Karte (t_c46d31c2): alle geänderten/neuen Scripts.
|
|
cd "$(dirname "$0")/.."
|
|
GODOT=~/bin/godot4
|
|
fail=0
|
|
for f in src/ui/main.gd src/viewport/orbit_camera.gd src/editor/shortcut_keys.gd \
|
|
src/editor/fly_math.gd src/editor/shortcut_policy.gd \
|
|
core/editor/selection_math.gd src/editor/interaction.gd core/editor/object_ops.gd \
|
|
tests/test_shortcuts.gd tests/test_ux.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 |