[ALOY-23] Launch emulators, simulators, or devices directly from zipti
|Affected Version/s||2012 Sprint 14|
|Fix Version/s||2012 Sprint 14|
descriptionUntil zipti is integrated with Titanium Studio, its translation process needs to be run on the commandline through nodejs and then the resulting code needs to be placed in an existing Titanium project. After the code is placed in that existing project, a developer needs to open/access TiStudio and then launch the generated app against the emulator/simulator/device of their choice. It would be quicker for testing if this could be reduced to 1 step, allowing a dev to deploy right from zipti. We need to investigate if this is a good idea, or if it creates an unnecessary separation from the existing build scripts. Duplicate effort is something we can't afford here.
proposed usageWe could add an additional option to the command line execution. For example, we could add
-t, --targetwhose value would correspond to a valid build target. For example,
Open to alternatives here. Thoughts?zipti -p -o ~/Titanium\ Studio\ Workspace/myTestProject -t iphone
- Russell McMahon 2012-05-16 Sounds good to have a -t flag for running a single command and have the app show. We may also need to specify, device vs simulator and release vs debug. I think for now let's just keep this ticket open as cli stuff with which we will interact is going through changes. I will bring this up with Neeraj to make sure as cli progresses that ZipTi functionality is included.
- Tony Lukasavage 2012-06-27
The android emulator and ios sim can be launched with jake. Also, the
alloy runcommand makes use of titanium.py, allowing developers to run existing alloy-powered projects.