mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Precache iOS artifacts (#49010)
This commit is contained in:
parent
1a061dd8e5
commit
9301a86a86
@ -19,7 +19,20 @@ Future<void> main() async {
|
||||
);
|
||||
await inDirectory(platformViewDirectory, () async {
|
||||
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(
|
||||
'$platformViewDirectoryPath/ios',
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user