Remove --enable-web and --enable-windows-desktop from tests (#101208)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user