Files
RememBerBerandCursor 9fdd13087c feat(next-flutter): add 0.1.0 desktop shell and JSON workspace
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>
2026-09-08 19:51:27 +08:00

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