A multiplatform task management app.
tool/dev.dart)To avoid OS differences with make, a cross-platform Dart runner script is available at tool/dev.dart:
# Show all available commands
dart run tool/dev.dart help
# Formatting & static analysis
dart run tool/dev.dart format # Format all packages
dart run tool/dev.dart format --check # Check formatting without modifying
dart run tool/dev.dart analyze # Analyze with --fatal-infos
dart run tool/dev.dart fix # Apply automated fixes
dart run tool/dev.dart fix --check # Dry-run check for fixes
# Testing
dart run tool/dev.dart test # Run all tests (core, cli, app)
dart run tool/dev.dart test:core # Run core tests only
dart run tool/dev.dart test:cli # Run CLI tests only
dart run tool/dev.dart test:app # Run Flutter app tests only
# Building & Smoke Testing
dart run tool/dev.dart build:cli # Compile native CLI bundle
dart run tool/dev.dart smoke:cli # Smoke test compiled CLI binary
dart run tool/dev.dart build:app # Build Android debug APK
# Full Local CI Verification Suite (format, analyze, fix, test, build, smoke)
dart run tool/dev.dart verify
Install dependencies across all workspaces:
flutter pub get
Verify workspace membership:
dart pub workspace list
Check formatting and linting:
dart format --output=none --set-exit-if-changed .
dart analyze --fatal-infos
dart fix --dry-run
Run all tests:
# Core & CLI tests
dart test packages/core
dart test packages/cli
# Flutter app tests
flutter test packages/app
Build and smoke test the native CLI:
cd packages/cli
dart build cli
dart run tool/smoke_cli.dart
cd ../..
Run the Flutter Android app (with an emulator or device connected):
cd packages/app
flutter run