Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation to use --local-web-sdk flags. #38328

Merged
merged 1 commit into from
Dec 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions lib/web_ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
Expand Down