mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
52 lines
1.2 KiB
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
|