You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/10/16 07:27:35 UTC
[jira] [Updated] (CB-2946) Add a ./cordova/run project-level script
for OSX
[ https://issues.apache.org/jira/browse/CB-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-2946:
---------------------------------
Fix Version/s: (was: 3.1.0)
3.2.0
> Add a ./cordova/run project-level script for OSX
> ------------------------------------------------
>
> Key: CB-2946
> URL: https://issues.apache.org/jira/browse/CB-2946
> Project: Apache Cordova
> Issue Type: Improvement
> Components: OSX
> Reporter: Filip Maj
> Assignee: Shazron Abdullah
> Fix For: 3.2.0
>
>
> {code}
> run [--target=<id>]
> {code}
> Deploys a build of the app to an available device or emulator.
> Implicitly calls {{build}} first (see CB-2934).
> If {{--target}} is specified, attempts to deploy the app to the device or emulator identified by <id>. If the attempt fails, the script will error out with code 2 and an appropriate error message. If no {{--target}} is specified, follows this multi-device flow:
>
> # Are there any devices connected and available (should use the {{list-devices}} script TODO: [issue ref to come] to determine this)? If so, deploy to the first available one, if not continue.
> # Are there any actual emulators available, i.e. started/running? (use {{list-started-emulators}} script TODO: [issue ref to come] to determine this). If so, target the first one. If no, continue.
> # Are there any emulator images available to start? (use {{list-emulator-images}} script TODO: [issue ref to come] to determine this). If so, call {{start-emulator <id>}} TODO: [issue ref to come] of the first available image, wait for it to become ready, then deploy to it.
> # If you get to this step, error out with a "no devices or emulators available" and exit with code 2.
--
This message was sent by Atlassian JIRA
(v6.1#6144)