All six test/build scripts assumed a nested app/ package that doesn't exist — the Flutter package lives at the repo root. Removed every `cd app` and phantom path, consolidated the redundant dart/flutter analyze passes in test.sh, and scoped test_core.sh to core subsystem dirs so it no longer overlaps with the full flutter test run. Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
388 B
Bash
Executable File
16 lines
388 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Fast test layer — analyze + format + unit + widget + golden.
|
|
# Runs in <60s on a warm cache. Called from `make test` and the
|
|
# pre-push hook.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "==> flutter analyze"
|
|
flutter analyze
|
|
|
|
echo "==> dart format (whole tree)"
|
|
dart format --set-exit-if-changed .
|
|
|
|
echo "==> flutter test (unit + widget + golden)"
|
|
flutter test
|