commit | df0f42318422a94e8e09a5bc26fa5aeae82b45f6 | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Mon Nov 11 14:55:30 2024 -0500 |
committer | GitHub <noreply@github.com> | Mon Nov 11 14:55:30 2024 -0500 |
tree | 0cd617fd2692e334fd417f0136cd126f5adac7d9 | |
parent | d681e4e404e8a1099d825c4e099f096d5bcad616 [diff] |
[tools] Run `pub get` before `format` (#8052) The new Dart formatter needs to know the Dart language version of the code it is formatting, and it reads that from a file in `.dart_tool`, not `pubspec.yaml` directly. To avoid it failing to determine the version and assuming the latest (which will almost always be wrong in this repo): - Adds a step to the `format` repo command to ensure that `pub get` appears to have been run, and runs it if not, and - To avoid `pub get` running in `format` in CI, adds a deps-fetching step to the `repo_checks` task, as we have in other tasks that need to `pub get`. This should unblock the roll.
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: