Update README.md to reflect removal of --install flag.

This commit is contained in:
Ian Fischer 2015-08-31 16:48:16 -07:00
parent bd038cfc53
commit 2a831f547b

View File

@ -72,14 +72,12 @@ Running a Sky application
The `sky` pub package includes a `sky_tool` script to assist in running The `sky` pub package includes a `sky_tool` script to assist in running
Sky applications inside the `SkyShell.apk` harness. The `sky_tool` script Sky applications inside the `SkyShell.apk` harness. The `sky_tool` script
expects to be run from the root directory of your application's package (i.e., expects to be run from the root directory of your application's package (i.e.,
the same directory that contains the `pubspec.yaml` file). To run your app, the same directory that contains the `pubspec.yaml` file).
follow these instructions:
- The first time: `./packages/sky/sky_tool start --install --checked && adb logcat -s sky chromium` To run your app with logging, run this command:
- Subsequent times: `./packages/sky/sky_tool start --checked && adb logcat -s sky chromium` - `./packages/sky/sky_tool start --checked && adb logcat -s sky chromium`
The `sky_tool start` command starts the dev server and uploads your app to the device. The `sky_tool start` command starts the dev server and uploads your app to the device, installing `SkyShell.apk` if needed.
The `--install` flag installs `SkyShell.apk` if it is not already installed on the device.
The `--checked` flag triggers checked mode, in which types are checked, asserts are run, and The `--checked` flag triggers checked mode, in which types are checked, asserts are run, and
various [debugging features](https://github.com/domokit/sky_engine/blob/master/sky/packages/sky/lib/base/debug.dart) are enabled. various [debugging features](https://github.com/domokit/sky_engine/blob/master/sky/packages/sky/lib/base/debug.dart) are enabled.
The `adb logcat` command logs errors and Dart `print()` output from the app. The `-s sky chromium` The `adb logcat` command logs errors and Dart `print()` output from the app. The `-s sky chromium`