mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
Stand up the independent Flutter product with workbench, i18n, and a real JSON format/vault/restore loop so P0–P2 can run without other product runtimes. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
381 B
Bash
Executable File
14 lines
381 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
export PATH="${FLUTTER_SDK:-$HOME/sdk/flutter}/bin:$PATH"
|
|
cd "$ROOT"
|
|
if ! command -v flutter >/dev/null; then
|
|
echo "flutter not found. Install the SDK or set FLUTTER_SDK." >&2
|
|
exit 1
|
|
fi
|
|
flutter pub get
|
|
dart format --output=none --set-exit-if-changed lib test
|
|
flutter analyze
|
|
flutter test test/unit
|