flutter/dev
Greg Spencer f29ecba6de
Use .pub-cache from Flutter root, if it exists. (#13358)
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.

This is an attempt to re-land: #13248. Includes a fix for the test that makes it work on bots in the presence of PUB_CACHE being set, and no other changes.
2017-12-05 14:46:39 -08:00
..
automated_tests Update quiver dependency to 0.26.2 (#13299) 2017-12-01 10:28:59 -08:00
benchmarks Update quiver dependency to 0.26.2 (#13299) 2017-12-01 10:28:59 -08:00
bots Use .pub-cache from Flutter root, if it exists. (#13358) 2017-12-05 14:46:39 -08:00
devicelab Run pod install in flutter_view_ios__start_up test. (#13296) 2017-12-01 16:30:27 +01:00
docs Add survey js to docs web site (#13210) 2017-11-29 09:07:04 -08:00
integration_tests Update quiver dependency to 0.26.2 (#13299) 2017-12-01 10:28:59 -08:00
manual_tests Fix overlay_geometry manual test. (#13315) 2017-12-04 13:53:23 -08:00
missing_dependency_tests Consolidating .gitignore files. (#13002) 2017-11-28 17:06:57 -08:00
tools Use .pub-cache from Flutter root, if it exists. (#13358) 2017-12-05 14:46:39 -08:00