You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bryan Higgins (JIRA)" <ji...@apache.org> on 2013/10/23 21:11:46 UTC

[jira] [Resolved] (CB-2988) Add a ./cordova/lib/install-device project-level helper script

     [ https://issues.apache.org/jira/browse/CB-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Higgins resolved CB-2988.
-------------------------------

    Resolution: Fixed

All sub-tasks complete

> Add a ./cordova/lib/install-device project-level helper script
> --------------------------------------------------------------
>
>                 Key: CB-2988
>                 URL: https://issues.apache.org/jira/browse/CB-2988
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Filip Maj
>            Assignee: Lorin Beer
>             Fix For: 3.2.0
>
>
> {code}
> install-device [--target=id]
> {code}
> Installs a build of the app to an available device.
> If {{--target}} is specified, attempts to install the app to the device identified by {{id}}. If the attempt fails, the script will error out with an appropriate error message and exit with code 2.
> If no {{--target}} is specified, follows this multi-device flow:
>  # Are there any devices available, i.e. connected? (use {{list-devices}} [CB-2972] to determine this). If so, target the first one, otherwise continue.
>  # Print an error message and exit with code 2.
> If the application is not compiled/built yet, the script will error out with an appropriate error message and exit with code 2.



--
This message was sent by Atlassian JIRA
(v6.1#6144)