Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11516] CLI: Mobile Web uses different short-option for deploy-type

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-10-18T00:39:58.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 21 JS, 2012 Sprint 21
ComponentsTooling
Labelsn/a
ReporterArthur Evans
AssigneeChris Barber
Created2012-10-17T01:08:37.000+0000
Updated2012-12-04T00:34:00.000+0000

Description

Currently, for mobile web the CLI is showing: -B, --deploy-type the type of deployment; production performs optimizations [production, development] Both iOS and Android support: -D, --deploy-type type of deployment (production, development). (Android also supports "test", I think.) For consistency, we should use the same short option to correspond to a given long option thoughout--otherwise, it's just confusing for the user. We're going to continue to add new platforms, so the more uniformity we can build in, the easier it's going to be on the user.

Comments

  1. Chris Barber 2012-10-18

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3279 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3280
  2. Natalie Huynh 2012-12-04

    Currently we do not support deploy-type for android as it is still using the old build script.

JSON Source