Files
DWA 5649725def refactor: rename tools/ to scripts/
Rename the top-level tooling folder tools/ -> scripts/ (build-sdl/, compose-fork/,
and the python helpers). Updated all references: every module's compose-fork.txt
manifest, build.gradle.kts provenance comments, the apidemo subset-script path,
the scripts' own self-references, the vendored Synchronization.kt headers,
.gitignore, CLAUDE.md and README.md. Also updated sync.py's PRUNE_DIRS. Folder
depth is unchanged so all path-relative repo-root logic still resolves.
2026-07-09 17:27:15 +02:00

18 lines
708 B
Bash
Executable File

#!/usr/bin/env bash
# Thin wrapper -- the real implementation now lives in sync.py (cross-platform, and
# ~1000x fewer subprocess spawns, so it doesn't crawl / wedge on Windows Git Bash).
# Kept so `sh scripts/compose-fork/sync.sh [...]` and every existing doc/command still
# work. You can also just run the Python directly on any platform:
# python scripts/compose-fork/sync.py [args]
#
# See sync.py for full usage. CMP_REF is honoured (inherited by the child process).
set -euo pipefail
kHere="$(cd "$(dirname "$0")" && pwd)"
kPy="$(command -v python3 || command -v python || true)"
if [ -z "$kPy" ]; then
echo "python3 (or python) not found on PATH" >&2
exit 1
fi
exec "$kPy" "$kHere/sync.py" "$@"