invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.19k stars 206 forks source link

[Feature Request] Add support for FVM switching in run task #62

Closed KieranLafferty closed 3 years ago

KieranLafferty commented 3 years ago

For anyone unfamiliar, fvm is flutter version manager (similar to nvm for node, or rvm for ruby) which allows for hot switching between flutter channels in declarative way and does some caching to make it faster

I anticipate this would be beyond the scope of melos, but it could be really cool if you could specify the environment/flutter channel you want to run a particular script in to allow you to build web on beta, mac on dev, and ios/andriod on stable if that's what you wanted.

I'd imagine it would work as a bit of a push/pop scope sort of thing for each command doing nothing if not provided. If this is something that would be likely to be merged in here I may take a swing at it just wanted to get some feedback before putting the time in

Best

Kieran

KieranLafferty commented 3 years ago

Just came across https://github.com/invertase/melos/issues/21 closing this one