| // Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| import '../runner/flutter_command.dart'; |
| import 'build_appbundle.dart'; |
| import 'build_bundle.dart'; |
| class BuildCommand extends FlutterCommand { |
| BuildCommand({bool verboseHelp = false}) { |
| addSubcommand(BuildApkCommand(verboseHelp: verboseHelp)); |
| addSubcommand(BuildAppBundleCommand(verboseHelp: verboseHelp)); |
| addSubcommand(BuildAotCommand()); |
| addSubcommand(BuildIOSCommand()); |
| addSubcommand(BuildFlxCommand()); |
| addSubcommand(BuildBundleCommand(verboseHelp: verboseHelp)); |
| addSubcommand(BuildWebCommand()); |
| final String name = 'build'; |
| final String description = 'Flutter build commands.'; |
| Future<FlutterCommandResult> runCommand() async => null; |
| abstract class BuildSubCommand extends FlutterCommand { |