-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify scripts that are meant to be executed on multiple packages #266
Comments
You can skip the prompt with the |
That appears to run the default (option 1), which only appears to be a single package. I would like to run it on all packages that meet the |
Ah, I see. You need to use upgrade:pods:
select-package:
dir-exists: 'ios'
run: |
melos exec -- \
rm -rf Pods Podfile.lock && \
pod repo update && \
flutter precache --ios && \
pod install It's not the nicest syntax because it needs to be a single command. There is some room for improvement here :) |
I would expect that to run In an ideal world we'd be doing something like this upgrade:pods:
filter:
dir-exists: 'ios'
run: |
rm -rf Pods Podfile.lock
pod repo update
flutter precache --ios
pod install
And then it runs on
|
If I try to use
select-package.dir-exists
to scope a command to only packages that contain theios
directory, when I try to run the command it gives me a user prompt instead of running it on all packages likemelos exec --dir-exists="ios"
The user prompt it creates instead of running on all of them automatically
The text was updated successfully, but these errors were encountered: