[TIMOB-12365] CLI: Remove "iPad" and "iphone" from clean command platform options
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-23T19:46:34.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02 |
Components | CLI |
Labels | module_cli, qe-port, qe-testadded |
Reporter | Eric Merriman |
Assignee | Chris Barber |
Created | 2013-01-22T02:19:08.000+0000 |
Updated | 2014-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
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3761 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3762
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.
Closing as fixed. Tested with CLI 3.0.23 Actual result: one or more platforms to clean [android, ios, mobileweb]