Skip to content

Commit

Permalink
🔥 Remove scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Nov 4, 2023
1 parent a09caea commit e3b12b1
Showing 1 changed file with 5 additions and 36 deletions.
41 changes: 5 additions & 36 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,40 +27,9 @@ scripts:
github-ci:
run: |
export MELOS_PACKAGES=$(dart $MELOS_ROOT_PATH/scripts/melos_pre_bootstrap.dart)
melos format
melos analyze
melos exec -- "dart format --set-exit-if-changed ."
melos exec --no-flutter -- "dart analyze --fatal-infos"
melos exec --flutter -- "flutter analyze --fatal-infos"
melos exec --ignore=*example* -- "dart pub publish --dry-run"
melos test
format:
exec: dart format --set-exit-if-changed .

analyze:
run: melos run analyze:dart && melos run analyze:flutter

analyze:dart:
exec: dart analyze --fatal-infos
packageFilters:
flutter: false

analyze:flutter:
exec: flutter analyze --fatal-infos
packageFilters:
flutter: true

test:
run: |
melos run test:dart --no-select && \
melos run test:flutter --no-select
test:dart:
exec: dart test --chain-stack-traces --platform=vm,chrome,firefox
packageFilters:
flutter: false
dirExists: 'test'

test:flutter:
exec: flutter test
packageFilters:
flutter: true
dirExists: 'test'
melos exec --ignore=*example* --no-flutter -- "dart test --chain-stack-traces --platform=vm,chrome,firefox"
melos exec --ignore=*example* --flutter -- "flutter test"

0 comments on commit e3b12b1

Please sign in to comment.