Remove --enable-web and --enable-windows-desktop from tests (#101208)

This commit is contained in:
Jenn Magder
2022-04-07 15:57:09 -07:00
committed by GitHub
parent b0de14ce07
commit 68471bbb74
2 changed files with 1 additions and 4 deletions

View File

@@ -588,7 +588,6 @@ Future<void> _flutterBuildWin32(String relativePathToApplication, {
List<String> additionalArgs = const <String>[],
}) async {
assert(Platform.isWindows);
await runCommand(flutter, <String>['config', '--enable-windows-desktop']);
print('${green}Testing Windows build$reset for $cyan$relativePathToApplication$reset...');
await _flutterBuild(relativePathToApplication, 'Windows', 'windows',
release: release,

View File

@@ -136,14 +136,12 @@ class _TaskRunner {
}
if (runFlutterConfig) {
print('Enabling configs for macOS, Linux, Windows, and Web...');
print('Enabling configs for macOS and Linux...');
final int configResult = await exec(path.join(flutterDirectory.path, 'bin', 'flutter'), <String>[
'config',
'-v',
'--enable-macos-desktop',
'--enable-windows-desktop',
'--enable-linux-desktop',
'--enable-web',
if (localEngine != null) ...<String>['--local-engine', localEngine],
], canFail: true);
if (configResult != 0) {