[TIMOB-28345] CLI: -b shorthand does not work for Android and perform a full build
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-05-18T18:25:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 10.0.0, Release 9.3.3 |
Components | Android, CLI |
Labels | android, build, cli |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2021-02-10T12:37:50.000+0000 |
Updated | 2021-05-18T18:25:15.000+0000 |
Description
Description
When passing the \-\-build-only
shorthand \-b
on Android it has no affect and a full build will be performed. This appears to be down to how early the buildOnly prop is being set on the Builder instance as the -b
option hasn't been translated to the alias \-\-build-only
yet, moving the assignment into the pre:validate hook then we should be ok
Steps to reproduce
1. Build an app for Android using appc run -p android -b
Actual
Emulator launches
Expected
No emulator launch
Comments
JSON Source
https://github.com/appcelerator/titanium_mobile/pull/12461