From 5373a834eb65ae3a8468c29edd7188ca86881ba1 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Thu, 7 Sep 2017 13:13:48 -0700 Subject: [PATCH] Include instructions to build host configuration for --preview-dart-2. (#11986) * Include instructions to build host configuration for preview-dart-2 * Space before lparen --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c9e947e065..99fdf11318 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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