Include instructions to build host configuration for --preview-dart-2. (#11986)

* Include instructions to build host configuration for preview-dart-2

* Space before lparen
This commit is contained in:
Alexander Aprelev 2017-09-07 13:13:48 -07:00 committed by GitHub
parent 038981bed9
commit 5373a834eb

View file

@ -243,6 +243,11 @@ the following steps.
3. To run tests on your host machine, build one of the host configurations
(e.g., `out/host_debug_unopt`). To run examples on Android, build one of the
Android configurations (e.g., `out/android_debug_unopt`).
When running on the device with `--preview-dart-2` flag you will still need
to build corresponding host configuration (e.g., `out/host_debug_unopt` if you
are using `out/android_debug_unopt`, `out/host_release` if you use `out/android_release`).
Host configuration provides standalone dart sdk for the engine, that is used
to run engine dart scripts on the host.
You should now be able to run the tests against your locally built
engine using the `flutter test --local-engine=host_debug_unopt` command. To run