Single-file bash that copies framework/skeleton/ into <name>/, rewrites project identifiers (CMake project, Qt target, QML URI, app title, SingleInstance lock id), repoints the path-composer-repo and the add_subdirectory(framework/qml) reference, runs composer install + first-run migrations, and prints the make targets to take next. --vendor copies framework/php and framework/qml into .bridge/ and .bridge-qml/ inside the new project so it's portable away from the framework checkout. Default uses absolute paths so updates propagate. Auto-detects FRAMEWORK when run from a checkout (script lives at <repo>/bin/php-qml-init). Curl-bootstrap users pass --framework or set PHP_QML_FRAMEWORK. Smoke-tested end to end: scaffold → composer install → migrations → make build links a working binary. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9.8 KiB
Executable File
9.8 KiB
Executable File