Flutter build bundle without --precompiled should always perform a debug build. (#41401)

This commit is contained in:
Jonah Williams
2019-09-26 15:57:57 -07:00
committed by GitHub
parent 194256cc3c
commit efd2ba296b
3 changed files with 10 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ void main() {
outputDir: 'example',
targetPlatform: TargetPlatform.ios,
depfilePath: 'example.d',
precompiled: false,
);
expect(fs.file(fs.path.join('example', 'kernel_blob.bin')).existsSync(), true);
expect(fs.file(fs.path.join('example', 'LICENSE')).existsSync(), true);
@@ -60,6 +61,7 @@ void main() {
outputDir: 'example',
targetPlatform: TargetPlatform.linux_x64,
depfilePath: 'example.d',
precompiled: false,
), throwsA(isInstanceOf<ToolExit>()));
}));
}