Commit 9301a86a authored by Jenn Magder's avatar Jenn Magder Committed by Flutter GitHub Bot

Precache iOS artifacts (#49010)

parent 1a061dd8
...@@ -19,7 +19,20 @@ Future<void> main() async { ...@@ -19,7 +19,20 @@ Future<void> main() async {
); );
await inDirectory(platformViewDirectory, () async { await inDirectory(platformViewDirectory, () async {
await flutter('pub', options: <String>['get']); await flutter('pub', options: <String>['get']);
// Pre-cache the iOS artifacts; this may be the first test run on this machine.
await flutter(
'precache',
options: <String>[
'--no-android',
'--no-fuchsia',
'--no-linux',
'--no-macos',
'--no-web',
'--no-windows',
],
);
}); });
final Directory iosDirectory = dir( final Directory iosDirectory = dir(
'$platformViewDirectoryPath/ios', '$platformViewDirectoryPath/ios',
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment