-
Notifications
You must be signed in to change notification settings - Fork 317
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
Migrate "pub get" to "dart pub get" #2944
Comments
@jonasfj will do! I presume it's fine to use "dart pub get" for both Flutter and non-Flutter projects? (right now we have to pick between |
@DanTup I think it's best to use |
Got it - thanks! I wasn't sure if the reason for this change was to consolidate them both. BTW, I presume this applies to all |
Yes, all There is also |
Currently we're running tests by running We used to set So for now, unless you think there will be breakage, I'll leave the tests as-is but fix up the rest. |
The top-level
pub
command is scheduled for deprecation in favor ofdart pub
.We added
dart pub
in version2.10.0
, so it might still be necessary to callpub get
for some older versions of the Dart SDK.However, we plan to insert a deprecation warning in the top-level
pub
command, in Dart2.12.0
(next stable release of the Dart SDK). Hence, to avoid users experiencing a deprecation warning inpub get
output, it would be preferable to migrate todart pub get
now.See also: dart-lang/pub#2736
The text was updated successfully, but these errors were encountered: