Commit b193854b authored by Devon Carew's avatar Devon Carew

Merge pull request #2464 from devoncarew/cleanup_build

Cleanup build
parents e70036f1 b52fa986
...@@ -19,8 +19,6 @@ class BuildCommand extends FlutterCommand { ...@@ -19,8 +19,6 @@ class BuildCommand extends FlutterCommand {
// remove it once we've updated those build scripts. // remove it once we've updated those build scripts.
argParser.addOption('asset-base', help: 'Ignored. Will be removed.', hide: true); argParser.addOption('asset-base', help: 'Ignored. Will be removed.', hide: true);
argParser.addOption('compiler'); argParser.addOption('compiler');
// TODO(devoncarew): Remove this once the xcode project is switched over.
argParser.addOption('main', hide: true);
argParser.addOption('manifest', defaultsTo: defaultManifestPath); argParser.addOption('manifest', defaultsTo: defaultManifestPath);
argParser.addOption('private-key', defaultsTo: defaultPrivateKeyPath); argParser.addOption('private-key', defaultsTo: defaultPrivateKeyPath);
argParser.addOption('output-file', abbr: 'o', defaultsTo: defaultFlxOutputPath); argParser.addOption('output-file', abbr: 'o', defaultsTo: defaultFlxOutputPath);
...@@ -40,7 +38,7 @@ class BuildCommand extends FlutterCommand { ...@@ -40,7 +38,7 @@ class BuildCommand extends FlutterCommand {
return await build( return await build(
toolchain, toolchain,
mainPath: argResults.wasParsed('main') ? argResults['main'] : argResults['target'], mainPath: argResults['target'],
manifestPath: argResults['manifest'], manifestPath: argResults['manifest'],
outputPath: outputPath, outputPath: outputPath,
snapshotPath: argResults['snapshot'], snapshotPath: argResults['snapshot'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment