Files
cherrypick/melos.yaml

52 lines
1.2 KiB
YAML

name: cherrypick_workspace
sdkPath: .fvm/flutter_sdk
packages:
- benchmark_di
- cherrypick
- cherrypick_flutter
- cherrypick_annotations
- cherrypick_generator
- examples/client_app
- examples/postly
scripts:
analyze:
exec: dart analyze
format:
exec: dart format lib
test:
run: |
echo "Running Dart tests..."
melos exec --scope="cherrypick,cherrypick_annotations,cherrypick_generator" -- dart test --reporter=compact
echo "Running Flutter tests..."
melos exec --scope="cherrypick_flutter" -- flutter test --reporter=compact
test:dart:
description: "Run tests for Dart packages only"
exec: dart test --reporter=compact
packageFilters:
scope: ["cherrypick", "cherrypick_annotations", "cherrypick_generator"]
test:flutter:
description: "Run tests for Flutter packages only"
exec: flutter test --reporter=compact
packageFilters:
scope: ["cherrypick_flutter"]
codegen:
run: |
melos exec --scope="postly" -- dart run build_runner build --delete-conflicting-outputs
outdated:
exec: dart pub outdated
upgrade:
exec: dart pub upgrade --major-versions
drop:
exec: flutter clean