From ceeea0d71ea219b682a1e2a8cb2a687694719709 Mon Sep 17 00:00:00 2001 From: naipaka Date: Fri, 22 Dec 2023 15:02:49 +0900 Subject: [PATCH] chore: Add analyze scripts for dart, flutter, and custom_lint --- melos.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 -- \