Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12365] CLI: Remove "iPad" and "iphone" from clean command platform options

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-01-23T19:46:34.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02
ComponentsCLI
Labelsmodule_cli, qe-port, qe-testadded
ReporterEric Merriman
AssigneeChris Barber
Created2013-01-22T02:19:08.000+0000
Updated2014-08-18T04:20:04.000+0000

Description

These options are not really used, "iOS" should be sufficient since there is only one ios build folder and the device specifics have no relevance. Steps to reproduce: 1) invoke ti clean -h 2) Check the clean options for platform. Result: iPad and iphone are not relevant options Expected: Only iOS appearing in the list

Comments

  1. Chris Barber 2013-01-23

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3761 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3762
  2. Chris Barber 2013-01-23

    It's worth noting that the --platform option has been renamed --platforms, however --platform will still work. Additionally, despite "iphone" and "ipad" no longer shown as valid platforms, you can still pass them in and the "iphone" build directory will be removed as if it was magic.
  3. Olga Romero 2013-01-23

    Closing as fixed. Tested with CLI 3.0.23 Actual result: one or more platforms to clean [android, ios, mobileweb]

JSON Source