mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-05-16 10:10:43 +00:00
fix: fix melos script
This commit is contained in:
40
melos.yaml
40
melos.yaml
@@ -21,19 +21,19 @@ scripts:
|
||||
description: |
|
||||
Очищает build артефакты flutter и сгенерированный код во всех пакетах.
|
||||
|
||||
all:
|
||||
steps:
|
||||
- codegen
|
||||
- analyze
|
||||
- format
|
||||
- test
|
||||
description: Run all steps.
|
||||
# all:
|
||||
# steps:
|
||||
# - codegen
|
||||
# - analyze
|
||||
# - format
|
||||
# - test
|
||||
# description: Run all steps.
|
||||
|
||||
lint:all:
|
||||
steps:
|
||||
- analyze
|
||||
- format
|
||||
description: Run all static analysis checks.
|
||||
# lint:all:
|
||||
# steps:
|
||||
# - analyze
|
||||
# - format
|
||||
# description: Run all static analysis checks.
|
||||
|
||||
analyze:
|
||||
exec: dart analyze
|
||||
@@ -41,11 +41,11 @@ scripts:
|
||||
format:
|
||||
exec: dart format lib
|
||||
|
||||
test:
|
||||
steps:
|
||||
- test:dart
|
||||
- test:flutter
|
||||
description: Run all tests.
|
||||
# test:
|
||||
# steps:
|
||||
# - test:dart
|
||||
# - test:flutter
|
||||
# description: Run all tests.
|
||||
|
||||
test:dart:
|
||||
description: "Run tests for Dart packages only"
|
||||
@@ -60,8 +60,10 @@ scripts:
|
||||
scope: ["cherrypick_flutter"]
|
||||
|
||||
codegen:
|
||||
run: |
|
||||
melos exec --scope="postly" -- dart run build_runner build --delete-conflicting-outputs
|
||||
description: "Run build for Flutter packages only"
|
||||
exec: dart run build_runner build --delete-conflicting-outputs
|
||||
packageFilters:
|
||||
scope: ["postly"]
|
||||
|
||||
outdated:
|
||||
exec: dart pub outdated
|
||||
|
||||
Reference in New Issue
Block a user