flutter/packages/flutter_tools
Greg Spencer 72d6bcc3f7
Use .pub-cache from Flutter root, if it exists. (#13248)
The purpose of this PR is to make it so that when the user runs 'flutter', if they have a .pub-cache directory in their flutter root, we use that instead of the default location for the pub cache. Otherwise, it should act as before.

The eventual goal is to support a pre-populated flutter .zip/.tar.gz file that has everything the developer needs in one bundle. In order for that to actually work, we need to have the pub cache be self-contained, and not in the user's home dir.

Another advantage of this is that if you have multiple flutter repos that you're switching between, then the versions in the pub cache will remain static when you switch between them.
2017-12-05 12:02:14 -08:00
..
bin Add --preview-dart-2 option support for ios builds (#13251) 2017-11-29 18:11:34 -08:00
gradle Add support for NDK discovery and add --prefer-shared-library option (#12788) 2017-11-21 15:44:03 +01:00
ide_templates/intellij Updated run configurations with catalog examples. (#13099) 2017-11-28 16:04:30 -08:00
lib Use .pub-cache from Flutter root, if it exists. (#13248) 2017-12-05 12:02:14 -08:00
schema Add support for iOS plugin class prefix (#13095) 2017-11-20 13:27:21 +01:00
templates Swift templates tweaks. (#13291) 2017-12-01 10:54:56 -08:00
test Use .pub-cache from Flutter root, if it exists. (#13248) 2017-12-05 12:02:14 -08:00
tool Declare locals final where not reassigned (flutter_tools) (#8570) 2017-03-03 17:50:46 -08:00
BUILD.gn Adjust to new location for the Dart project. (#12621) 2017-10-18 19:45:48 -07:00
pubspec.yaml Update quiver dependency to 0.26.2 (#13299) 2017-12-01 10:28:59 -08:00
README.md Update timeouts for flutter create tests (#12965) 2017-11-10 09:35:11 +01:00

Flutter tools

Tools for building Flutter applications.

To run the tests, ensure that no devices are connected, then navigate to flutter_tools and execute:

DART_VM_OPTIONS=--assert-initializer ../../bin/cache/dart-sdk/bin/pub run test