fkleon / math-expressions

A library for parsing and evaluating mathematical expressions, supporting real numbers, vectors, and basic interval arithmetic.
https://pub.dev/packages/math_expressions
MIT License
100 stars 35 forks source link

Update `pub run` #62

Closed domesticmouse closed 2 years ago

domesticmouse commented 2 years ago

The dart pub command debuted in Dart 2.10. Although you might still find examples of using the standalone pub command instead of dart pub or flutter pub, the standalone pub command is deprecated.

fkleon commented 2 years ago

Hi @domesticmouse, thanks for this pull request. Since this library does not depend on flutter, I'd prefer to use dart run in the documentation instead. If you update this pull request I'll merge it in.

It would have been helpful to provide a description to the pull request. Here's the background for this change from the Dart documentation:

Version note: The dart pub command debuted in Dart 2.10. Although you might still find examples of using the standalone pub command instead of dart pub or flutter pub, the standalone pub command is deprecated.

See https://dart.dev/tools/pub/cmd