[ https://issues.apache.org/jira/browse/CB-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980236#comment-13980236 ]
ASF subversion and git services commented on CB-2987: ----------------------------------------------------- Commit 04c6c0c972bd398d9a898dc66e8f551ebc6d7777 in cordova-osx's branch refs/heads/master from [~tri...@adobe.com] [ https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;h=04c6c0c ] Fixing various project-helper scripts fixes: * CB-2979 Add a ./cordova/lib/list-devices project-level helper script to OSX * CB-2971 Add a ./cordova/lib/list-started-emulators as project-level helper script to OSX * CB-2954 Add a ./cordova/lib/list-emulator-images project-level helper script to OSX * CB-2987 Add a ./cordova/lib/install-emulator project-level helper script to OSX * CB-2995 Add a ./cordova/lib/install-device project-level helper script to OSX * CB-3003 Add a ./cordova/lib/start-emulator project-level helper script to OSX Signed-off-by: Shazron Abdullah <shaz...@apache.org> > Add a ./cordova/lib/install-emulator project-level helper script to OSX > ----------------------------------------------------------------------- > > Key: CB-2987 > URL: https://issues.apache.org/jira/browse/CB-2987 > Project: Apache Cordova > Issue Type: Improvement > Components: OSX > Reporter: Filip Maj > Assignee: Tobias Bocanegra > Fix For: 3.5.0 > > > {code} > install-emulator [--target=id] > {code} > Installs a build of the app to an available emulator. > If {{--target}} is specified, attempts to install the app to the emulator > 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 actual emulators available, i.e. started/running? (use > {{list-started-emulators}} [CB-2971] to determine this). If so, target the > first one, otherwise continue. > # Are there any emulator images available to start? (use > {{list-emulator-images}} [CB-2954] to determine this). If so, call > {{start-emulator <id>}} [TODO: issue ref] of the first available image, wait > for it to become ready, then target it. If no, 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. > If the functionality is not implementable, the script should print out an > appropriate error message and exit with code 1. -- This message was sent by Atlassian JIRA (v6.2#6252)