diff --git a/melos.yaml b/melos.yaml index d3d5adb..4b68856 100644 --- a/melos.yaml +++ b/melos.yaml @@ -41,6 +41,24 @@ scripts: dirExists: lib analyze: + run: | + melos run analyze:dart --no-select + melos run analyze:flutter --no-select + melos run analyze:custom_lint --no-select + description: Run all analyze. + packageFilters: + dirExists: lib + + analyze:dart: + run: | + melos exec -- \ + dart analyze . --fatal-infos + description: Run analyze. + packageFilters: + flutter: false + dirExists: lib + + analyze:flutter: run: | melos exec -- \ flutter analyze . --fatal-infos @@ -49,6 +67,15 @@ scripts: flutter: true dirExists: lib + analyze:custom_lint: + run: | + melos exec -- \ + dart run custom_lint + description: Run custom_lint. + packageFilters: + dirExists: lib + dependsOn: "custom_lint" + format: run: | melos exec -- \