Make update-packages cover dev/benchmarks.
update-packages only looks one level down, instead of changing that, I'm just adding dev/benchmarks explicitly. This will unbreak the bots which are dying trying to flutter drive dev/benchmarks/complex_layout without pub get having been run there. @yjbanov @devoncarew
This commit is contained in:
parent
0f1dee5f46
commit
711bf72620
@ -55,6 +55,7 @@ class UpdatePackagesCommand extends FlutterCommand {
|
|||||||
count += await _runPub(new Directory("${ArtifactStore.flutterRoot}/packages"), upgrade: upgrade);
|
count += await _runPub(new Directory("${ArtifactStore.flutterRoot}/packages"), upgrade: upgrade);
|
||||||
count += await _runPub(new Directory("${ArtifactStore.flutterRoot}/examples"), upgrade: upgrade);
|
count += await _runPub(new Directory("${ArtifactStore.flutterRoot}/examples"), upgrade: upgrade);
|
||||||
count += await _runPub(new Directory("${ArtifactStore.flutterRoot}/dev"), upgrade: upgrade);
|
count += await _runPub(new Directory("${ArtifactStore.flutterRoot}/dev"), upgrade: upgrade);
|
||||||
|
count += await _runPub(new Directory("${ArtifactStore.flutterRoot}/dev/benchmarks"), upgrade: upgrade);
|
||||||
|
|
||||||
double seconds = timer.elapsedMilliseconds / 1000.0;
|
double seconds = timer.elapsedMilliseconds / 1000.0;
|
||||||
printStatus('\nRan \'pub\' $count time${count == 1 ? "" : "s"} in ${seconds.toStringAsFixed(1)}s.');
|
printStatus('\nRan \'pub\' $count time${count == 1 ? "" : "s"} in ${seconds.toStringAsFixed(1)}s.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user