flutter_chat/melos.yaml

40 lines
956 B
YAML
Raw Normal View History

2024-01-12 16:52:14 +01:00
name: flutter_chat
2022-10-14 15:00:22 +02:00
packages:
- packages/**
command:
version:
branch: master
scripts:
lint:all:
2023-10-25 11:24:23 +02:00
run: dart run melos run analyze && dart run melos run format-check
2022-10-14 15:00:22 +02:00
description: Run all static analysis checks.
get:
run: |
melos exec -c 1 -- "flutter pub get"
melos exec --scope="*example*" -c 1 -- "flutter pub get"
2022-10-14 15:00:22 +02:00
2022-11-09 14:18:17 +01:00
upgrade:
run: melos exec -c 1 -- "flutter pub upgrade"
create:
2024-01-12 16:52:14 +01:00
# run create in the example folder of flutter_chat_view
run: melos exec --scope="*example*" -c 1 -- "flutter create ."
2022-10-14 15:00:22 +02:00
analyze:
run: |
2023-10-25 11:24:23 +02:00
dart run melos exec -c 1 -- \
2022-10-14 15:00:22 +02:00
flutter analyze --fatal-infos
description: Run `flutter analyze` for all packages.
format:
2023-10-25 11:24:23 +02:00
run: dart run melos exec dart format .
description: Run `dart format` for all packages.
2022-10-14 15:00:22 +02:00
format-check:
2023-10-25 11:24:23 +02:00
run: dart run melos exec dart format . --set-exit-if-changed
description: Run `dart format` checks for all packages.