From a42ff75609bfc002334337e4d289b15f0cdb293b Mon Sep 17 00:00:00 2001 From: Michael Bui <25263378+MaikuB@users.noreply.github.com> Date: Sat, 15 Apr 2023 11:59:01 +1000 Subject: [PATCH] made further changes to match updated melos 3 updates --- .cirrus.yml | 2 +- melos.yaml | 23 +++++++++++------------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 0d02034ec..17c1696ac 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -118,7 +118,7 @@ task: test_script: - export PATH="$PATH":"$HOME/.pub-cache/bin" - melos bootstrap - - melos run test:unit + - melos run test:unit --no-select task: name: Run all unit tests (Android) diff --git a/melos.yaml b/melos.yaml index d4f4b5e7c..cb130ea72 100644 --- a/melos.yaml +++ b/melos.yaml @@ -2,7 +2,6 @@ name: flutter_local_notifications repository: https://github.com/MaikuB/flutter_local_notifications packages: - "**" - - "**/example/*" command: bootstrap: @@ -14,7 +13,7 @@ ide: scripts: analyze: - run: melos exec -c 1 -- "dart analyze . --fatal-infos" + run: melos exec -- "dart analyze . --fatal-infos" description: Run dart analyzer in a specific package. test:unit: description: Run unit tests in a specific package. @@ -26,11 +25,11 @@ scripts: - "*example*" test:unit:android: description: Runs java unit tests - run: melos exec -c 1 -- "flutter build apk --debug && cd android && ./gradlew flutter_local_notifications:testDebug" + run: melos exec -- "flutter build apk --debug && cd android && ./gradlew flutter_local_notifications:testDebug" packageFilters: scope: "*example*" test:integration: - run: melos exec -c 1 -- "flutter test integration_test" + run: melos exec -- "flutter test integration_test" description: Run integration tests packageFilters: dirExists: @@ -38,36 +37,36 @@ scripts: scope: "*example*" build:example_android: run: | - melos exec -c 1 --scope="*example*" -- \ - "flutter build apk --debug" + melos exec -- "flutter build apk --debug" description: Build a specific example app for Android. packageFilters: dirExists: - android + scope: "*example*" build:example_ios: run: | - melos exec -c 1 --scope="*example*" -- \ - "flutter build ios --no-codesign --debug" + melos exec -- "flutter build ios --no-codesign --debug" description: Build a specific example app for iOS. packageFilters: dirExists: - ios + scope: "*example*" build:example_macos: run: | - melos exec -c 1 --scope="*example*" -- \ - "flutter build macos" + melos exec -- "flutter build macos" description: Build a specific example app for macOS. packageFilters: dirExists: - macos + scope: "*example*" build:example_linux: run: | - melos exec -c 1 --scope="*example*" -- \ - "flutter build linux" + melos exec -- "flutter build linux" description: Build a specific example app for Linux. packageFilters: dirExists: - linux + scope: "*example*" clean: run: git clean -x -d -f -q