react-native/local-cli
Jim Cummins 10ad47a711 Fix run-android to execute app on all connected devices
Summary:**EDIT: **

This has been updated to simply fix the `run-android` command so that it runs on all connected devices instead of throwing an error.

**Original PR description:**

This adds a new command to the react-native CLI. When executed this command will install and successfully execute your app on all connected Android devices:

`react-native run-android-all`

Closes #5901

**Note:** I wasn't sure how to approach this API since it seems a bit like a flag, but I didn't see any other flags implemented in the cli so it seems like the current trend is to keep all commands to a single phrase. I am open to changing this if need be.
Closes https://github.com/facebook/react-native/pull/5902

Differential Revision: D2976580

Pulled By: mkonicek

fb-gh-sync-id: e7f734478f719cf59e0192b5f4be3f6408c31964
shipit-source-id: e7f734478f719cf59e0192b5f4be3f6408c31964
2016-03-08 12:12:30 -08:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Temporarily disable cli tests 2015-11-12 07:05:01 -08:00
bundle transform before extracting dependencies 2016-03-08 09:51:26 -08:00
dependencies transform before extracting dependencies 2016-03-08 09:51:26 -08:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator Deleted unnecessary 'use strict' in new project templates 2016-03-06 09:01:24 -08:00
generator-android fix resources build variable name 2016-02-25 17:21:30 -08:00
generator-ios Create offline package if not running in "Debug" config 2016-02-24 03:11:38 -08:00
library Introduce react-native link 2015-10-27 11:22:28 -07:00
runAndroid Fix run-android to execute app on all connected devices 2016-03-08 12:12:30 -08:00
runIOS Allows a user to specify an xcode scheme name. 2016-03-07 14:26:25 -08:00
server transform before extracting dependencies 2016-03-08 09:51:26 -08:00
upgrade Move `react` to peerDependencies 2016-02-09 15:38:37 -08:00
util Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
cli.js Fix: cli.js - use var instead of const 2016-03-06 18:56:27 -08:00
default.config.js More descriptive comment in default.config.js 2015-11-12 07:43:25 -08:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Return non-zero exit code from wrong-react-native 2016-01-05 15:22:59 -08:00