fix: Release-Härtung, JSON-Dateiformat und Quality-Meilenstein

- Export: Runtime-Bridge-Autoload und Skater-GLB samt Texturen einschließen, Editor-Addons ausschließen
- tools/check_export.sh als headless Smoke-Test; ./tools/test.sh --export
- RoutineFile: JSON-Format, atomare Saves, Whitelist für Legacy-.tres
- Überschreibschutz für Speichern unter/Export, Session- und Autosave-Restore
- Globaler Delete-Shortcut blockiert bei offenen Dialogen
- Sync akzeptiert .json und Legacy-.tres, Konfliktnamen behalten die Endung
- Tests für Dateiformat, Überschreiben, Session und Legacy-Schutz
- Quality-Meilenstein mit 'Als Nächstes' und 'Danach' in der Roadmap
This commit is contained in:
torsten 2026-11-03 23:48:01 +01:00
parent edf12a11c2
commit 7bbd8c9c1d
21 changed files with 1711 additions and 158 deletions

View file

@ -4,6 +4,11 @@ set -euo pipefail
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
PROJECT_DIR="$REPO_ROOT/rinkplanner"
GODOT="${GODOT:-/opt/godot/Godot_v4.7.2-stable_linux.x86_64}"
WITH_EXPORT=0
if [[ "${1:-}" == "--export" ]]; then
WITH_EXPORT=1
fi
ORIGINAL_XDG_DATA_HOME="${XDG_DATA_HOME:-}"
if [[ ! -x "$GODOT" && -x "/Applications/Godot.app/Contents/MacOS/Godot" ]]; then
GODOT="/Applications/Godot.app/Contents/MacOS/Godot"
fi
@ -25,6 +30,9 @@ fi
"$GODOT" --headless --path "$PROJECT_DIR" \
--script res://tests/run_model_tests.gd
"$GODOT" --headless --path "$PROJECT_DIR" \
--script res://tests/run_file_format_tests.gd
"$GODOT" --headless --path "$PROJECT_DIR" \
--script res://tests/run_rules_tests.gd
@ -69,3 +77,13 @@ fi
"$GODOT" --headless --path "$PROJECT_DIR" \
--script res://tests/run_presentation3d_tests.gd
if [[ "$WITH_EXPORT" -eq 1 ]]; then
# The temp XDG_DATA_HOME above isolates user://, but Godot also finds its
# export templates there. Run the export check with the real environment.
if [[ -n "$ORIGINAL_XDG_DATA_HOME" ]]; then
( export XDG_DATA_HOME="$ORIGINAL_XDG_DATA_HOME"; "$REPO_ROOT/tools/check_export.sh" )
else
( unset XDG_DATA_HOME; "$REPO_ROOT/tools/check_export.sh" )
fi
fi