Skip to content
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

Set location of Flutter/Dart SDK #47

Open
nilsreichardt opened this issue Nov 1, 2022 · 1 comment
Open

Set location of Flutter/Dart SDK #47

nilsreichardt opened this issue Nov 1, 2022 · 1 comment

Comments

@nilsreichardt
Copy link
Contributor

At the moment, spec just uses the global Flutter version that is used when running flutter or dart. However, you might want to pass the path to another SDK path, like when using FVM.

It would be great when you set the path to the Flutter / Dart SDK or what the best option would be to use the location from the melos.yaml (https://melos.invertase.dev/configuration/overview#sdkpath) - related to #9 (?)

@rrousselGit
Copy link
Contributor

That adds a lot of complexity for a niche use case.

I'd be more inclined to suggest running spec in a scope where flutter/dart are using the version of your choice. Like maybe change the ENV to do what you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants