Unverified Commit b09a015f authored by Reid Baker's avatar Reid Baker Committed by GitHub

Add aab as alias for appbundle (#143855)

- **Fix #143778 add aab as alias to appbundle**

Fixes #143778
parent bfeaf5a7
......@@ -70,6 +70,9 @@ class BuildAppBundleCommand extends BuildSubCommand {
@override
final String name = 'appbundle';
@override
List<String> get aliases => const <String>['aab'];
@override
DeprecationBehavior get deprecationBehavior => boolArg('ignore-deprecation') ? DeprecationBehavior.ignore : DeprecationBehavior.exit;
......
......@@ -64,6 +64,12 @@ void main() {
Analytics: () => fakeAnalytics,
});
testUsingContext('alias aab', () async {
final BuildAppBundleCommand command =
BuildAppBundleCommand(logger: BufferLogger.test());
expect(command.aliases, contains('aab'));
});
testUsingContext('build type', () async {
final String projectPath = await createProject(tempDir,
arguments: <String>['--no-pub', '--template=app']);
......
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