From ec09345f64801486548108f4809c638f0fdb4d78 Mon Sep 17 00:00:00 2001 From: Jackson Gardner Date: Thu, 15 Dec 2022 12:47:52 -0800 Subject: [PATCH] Update documentation to use `--local-web-sdk` flags. --- lib/web_ui/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/web_ui/README.md b/lib/web_ui/README.md index eff40be60da30..f1e11e92f9a01 100644 --- a/lib/web_ui/README.md +++ b/lib/web_ui/README.md @@ -25,10 +25,9 @@ get help for a specific subcommand, run `felt help SUBCOMMAND`. The most useful subcommands are: - `felt build` - builds a local Flutter Web engine ready to be used by the - Flutter framework. To use the local engine build, build with - `felt build --host`, then pass `--local-engine=host_debug_unopt` to the - `flutter` command, or to `dev/bots/test.dart` when running a web shard, such - as `web_tests`. + Flutter framework. To use a locally built web sdk, build with `felt build`, + then pass `--local-web-sdk=wasm_release` to the `flutter` command, or to + `dev/bots/test.dart` when running a web shard, such as `web_tests`. - `felt test` - runs web engine tests. By default, this runs all tests using Chromium. Passing one or more paths to specific tests would run just the specified tests. Run `felt help test` for more options. @@ -44,7 +43,7 @@ Builds the web engine, the runs a Flutter app using it: ``` felt build cd path/to/some/app -flutter --local-engine=host_debug_unopt run -d chrome +flutter --local-web-sdk=wasm_release run -d chrome ``` Runs all tests in Chromium: