flutter_chat/melos.yaml

40 lines
925 B
YAML
Raw Normal View History

2022-10-14 15:00:22 +02:00
name: flutter_community_chat
packages:
- packages/**
command:
version:
branch: master
scripts:
lint:all:
run: melos run analyze && melos run format
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:
# run create in the example folder of flutter_community_chat_view
run: melos exec --scope="*example*" -c 1 -- "flutter create ."
2022-10-14 15:00:22 +02:00
analyze:
run: |
melos exec -c 1 -- \
flutter analyze --fatal-infos
description: Run `flutter analyze` for all packages.
format:
run: melos exec dart format .
description: Run `dart format` for all packages.
2022-10-14 15:00:22 +02:00
format-check:
run: melos exec dart format . --set-exit-if-changed
description: Run `dart format` checks for all packages.