Update clean command in devicelab tests (#12640)
This commit is contained in:
committed by
GitHub
parent
1eed6dff34
commit
2a11e896ee
@@ -192,7 +192,7 @@ class BuildTest {
|
||||
}
|
||||
|
||||
static Future<Map<String, dynamic>> _buildAot(bool previewDart2) async {
|
||||
await flutter('build', options: <String>['clean']);
|
||||
await flutter('clean');
|
||||
final Stopwatch watch = new Stopwatch()..start();
|
||||
final List<String> options = <String>[
|
||||
'aot',
|
||||
@@ -218,7 +218,7 @@ class BuildTest {
|
||||
}
|
||||
|
||||
static Future<Map<String, dynamic>> _buildDebug(bool previewDart2) async {
|
||||
await flutter('build', options: <String>['clean']);
|
||||
await flutter('clean');
|
||||
|
||||
final Stopwatch watch = new Stopwatch();
|
||||
if (deviceOperatingSystem == DeviceOperatingSystem.ios) {
|
||||
|
||||
@@ -29,7 +29,7 @@ TaskFunction createBasicMaterialAppSizeTest() {
|
||||
|
||||
await inDirectory(sampleDir, () async {
|
||||
await flutter('packages', options: <String>['get']);
|
||||
await flutter('build', options: <String>['clean']);
|
||||
await flutter('clean');
|
||||
|
||||
if (deviceOperatingSystem == DeviceOperatingSystem.ios) {
|
||||
await prepareProvisioningCertificates(sampleDir.path);
|
||||
|
||||
Reference in New Issue
Block a user