Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28345] CLI: -b shorthand does not work for Android and perform a full build

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2021-05-18T18:25:11.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.0.0, Release 9.3.3
ComponentsAndroid, CLI
Labelsandroid, build, cli
ReporterEwan Harris
AssigneeEwan Harris
Created2021-02-10T12:37:50.000+0000
Updated2021-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

  1. Ewan Harris 2021-02-10

    https://github.com/appcelerator/titanium_mobile/pull/12461

JSON Source