[ALOY-219] When executing a run via the common/titanium.js script, check tiapp.xml for deploy targets
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2012-10-04T21:37:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2012-08-28T09:12:30.000+0000 |
Updated | 2014-02-04T00:34:54.000+0000 |
Description
Right now, if no specific platform is given to the
Alloy/common/titanium.py
run()
function, iphone
is assumed. It would be better for alloy to investigate the project's tiapp.xml file and determine which deploy-targets are enabled, as 'iphone' may not even be enabled for the current project.
Since CLI will replace python scripts, having iphone as default is fine. When hooking up the new CLI we can address this issue then.
Python build scripts are being phased out.
We should keep this ticket open, or create a new one. This will need to be addressed regardless of the final state or language of the CLI build scripts.
CLI improvements will not be done as this will be run through the titanium CLI eventually