Skip to content

Commit

Permalink
Make the melos command a little more robust, and not depend on it exi…
Browse files Browse the repository at this point in the history
…sting on the path.
  • Loading branch information
bramp committed Jan 29, 2024
1 parent 89e346d commit c5d63e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ packages:
scripts:
test:
run: |
melos run test:dart --no-select && \
melos run test:flutter --no-select
dart run melos run test:dart --no-select && \
dart run melos run test:flutter --no-select
test:dart:
description: Run `dart test` in all dart packages.
Expand Down Expand Up @@ -38,9 +38,9 @@ scripts:

upgrade:
run: |
melos exec -- \
dart run melos exec -- \
"dart pub outdated && dart pub upgrade --major-versions --tighten"
melos clean
melos bootstrap
dart run melos clean
dart run melos bootstrap
description: |
Upgrade all packages to the latest version.

0 comments on commit c5d63e4

Please sign in to comment.