Last active
December 30, 2022 09:48
-
-
Save NijatTagizada/0605b764402bf9d27512c1602356ddeb to your computer and use it in GitHub Desktop.
Flutter melos config and scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: melos_demo_app | |
packages: | |
- packages/core/** | |
- packages/events/** | |
- '*' | |
scripts: | |
test:selective_unit_test: | |
run: melos exec --dir-exists="test" --fail-fast -- flutter test --no-pub --coverage | |
description: Run Flutter tests for a specific package in this project. | |
select-package: | |
flutter: true | |
dir-exists: test | |
test: | |
run: melos run test:selective_unit_test --no-select | |
description: Run all Flutter tests in this project. | |
analyze: | |
run: melos exec -- flutter analyze . | |
description: Run `dart analyze` in all packages. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment