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: |
|
description: |
|
||||||
Очищает build артефакты flutter и сгенерированный код во всех пакетах.
|
Очищает build артефакты flutter и сгенерированный код во всех пакетах.
|
||||||
|
|
||||||
all:
|
# all:
|
||||||
steps:
|
# steps:
|
||||||
- codegen
|
# - codegen
|
||||||
- analyze
|
# - analyze
|
||||||
- format
|
# - format
|
||||||
- test
|
# - test
|
||||||
description: Run all steps.
|
# description: Run all steps.
|
||||||
|
|
||||||
lint:all:
|
# lint:all:
|
||||||
steps:
|
# steps:
|
||||||
- analyze
|
# - analyze
|
||||||
- format
|
# - format
|
||||||
description: Run all static analysis checks.
|
# description: Run all static analysis checks.
|
||||||
|
|
||||||
analyze:
|
analyze:
|
||||||
exec: dart analyze
|
exec: dart analyze
|
||||||
@@ -41,11 +41,11 @@ scripts:
|
|||||||
format:
|
format:
|
||||||
exec: dart format lib
|
exec: dart format lib
|
||||||
|
|
||||||
test:
|
# test:
|
||||||
steps:
|
# steps:
|
||||||
- test:dart
|
# - test:dart
|
||||||
- test:flutter
|
# - test:flutter
|
||||||
description: Run all tests.
|
# description: Run all tests.
|
||||||
|
|
||||||
test:dart:
|
test:dart:
|
||||||
description: "Run tests for Dart packages only"
|
description: "Run tests for Dart packages only"
|
||||||
@@ -60,8 +60,10 @@ scripts:
|
|||||||
scope: ["cherrypick_flutter"]
|
scope: ["cherrypick_flutter"]
|
||||||
|
|
||||||
codegen:
|
codegen:
|
||||||
run: |
|
description: "Run build for Flutter packages only"
|
||||||
melos exec --scope="postly" -- dart run build_runner build --delete-conflicting-outputs
|
exec: dart run build_runner build --delete-conflicting-outputs
|
||||||
|
packageFilters:
|
||||||
|
scope: ["postly"]
|
||||||
|
|
||||||
outdated:
|
outdated:
|
||||||
exec: dart pub outdated
|
exec: dart pub outdated
|
||||||
|
|||||||
Reference in New Issue
Block a user