Use this file as an agent playbook.
Do not re-implement shell logic. Always call the executable scripts in tool/.
APP_ROOT(required): absolute path to target Flutter appSOURCE(optional):pub(default) orpathWAJUCE_PATH(required only whenSOURCE=path)TARGET(optional):none(default),web,android,ios,macos,windows
Run from this repository root:
- Install:
dart run tool/install_wajuce.dart --app-root "$APP_ROOT" --source "$SOURCE" --target "$TARGET"- Verify:
dart run tool/verify_wajuce.dart --app-root "$APP_ROOT" --target "$TARGET"If SOURCE=path, append:
--wajuce-path "$WAJUCE_PATH"TARGET=androidon Windows:- Script enforces
flutter doctor -vAndroid toolchain status check.
- Script enforces
TARGET=windowson Windows:- Script enforces
flutter doctor -vVisual Studio status check.
- Script enforces
TARGET=iosorTARGET=macos:- Must run on macOS host; script hard-fails on non-macOS.
After running, return:
- Inputs used (
APP_ROOT,SOURCE,TARGET) - Install command and verify command (exact)
- DoD status:
pubspec.yamlhaswajuceflutter pub getsuccessflutter pub depsincludeswajuce- target build check result (or skipped)
- Failure path (if any): failing command + next corrective action