[TIMOB-14965] CLI: Quick setup fails when no Titanium SDKs installed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-27T21:58:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 18 Core, 2013 Sprint 18, Release 3.2.0 |
Components | CLI |
Labels | cli, qe-closed-3.2.0, qe-testadded |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-08-27T18:06:00.000+0000 |
Updated | 2013-11-15T19:11:04.000+0000 |
Description
When you do not have any Titanium SDKs installed and run "ti setup quick", it fails when it prompts for the selected Titanium SDK.
We just need to not prompt for the SDK if there are no SDKs installed.
To test: 1) Rename your "mobilesdk" folder so that the CLI doesn't see any Titanium SDKs 2) Run "ti sdk" to verify there are no Titanium SDKs 3) Run "ti setup quick" and answer all questions (note that SDK is not prompted for)
Pull request: https://github.com/appcelerator/titanium/pull/53
Followed test steps and verified No failure, running ti setup >1(quick), when no SDKs installed. Environment: CLI 3.2.0 Appcelerator Studio, build: 3.2.0.201310180526 (for workspace path)