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

pub command in dart and flutter #1878

Open
simonjtyler opened this issue Jan 6, 2021 · 1 comment
Open

pub command in dart and flutter #1878

simonjtyler opened this issue Jan 6, 2021 · 1 comment
Labels
track/dart Dart track

Comments

@simonjtyler
Copy link

With a lot of new Dart users coming from the flutter space, the details on how to run the tests etc. might need to be updated.

E.g., replace/give alternatives to pub run test with flutter pub run test or dart run test in https://exercism.io/tracks/dart/tests

From the current docs: dart.dev/tools/pub/cmd

Flutter note: If you’re using the Flutter SDK, don’t use the pub command directly. Instead use the flutter pub command, as described in Using packages on the Flutter website.

And I think the separate pub command will be depreciated soon anyway: dart.dev/tools/dart-tool

Version note: Before Dart 2.10, the dart command was used only to run the Dart VM. You can still use it that way, but now the command has more functionality. Over time, we expect the dart command to replace most existing commands in the Dart SDK.

@SleeplessByte
Copy link
Member

Can you also open this on https://github.com/exercism/dart? The changed needs to happen there (docs folder).

@angelikatyborska angelikatyborska added the track/dart Dart track label Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
track/dart Dart track
Projects
None yet
Development

No branches or pull requests

3 participants