Skip to content

Commit

Permalink
chore: Add analyze scripts for dart, flutter, and custom_lint
Browse files Browse the repository at this point in the history
  • Loading branch information
naipaka committed Dec 22, 2023
1 parent d1f6377 commit ceeea0d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 -- \
Expand Down

0 comments on commit ceeea0d

Please sign in to comment.