Skip to content

New binstubs for global activate using dart pub #3002

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

Merged
merged 1 commit into from
May 19, 2021

Conversation

jonasfj
Copy link
Member

@jonasfj jonasfj commented May 19, 2021

Fixes #3000, downside is that if you want to downgrade from Dart 2.14.x to Dart 2.9.x, then packages activated with dart pub global activate <package> won't work anymore.

Upside is that now dart pub global activate <package> will work for users who have installed Dart from the Flutter SDK.


It's still be messy if you have two Dart SDK installations as Flutter in some configurations still use a different PUB_CACHE.

Copy link
Member

@athomas athomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

Avoid using pub from binstubs
2 participants