From: Radek Doulik Date: Mon, 14 Jun 2021 11:07:08 +0000 (+0200) Subject: [wasm] Clarify which parts are for mac users (#54135) X-Git-Tag: submit/tizen/20210909.063632~792 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a9a24bde1155048da39ebd0cea9274ec2cbc86b;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [wasm] Clarify which parts are for mac users (#54135) --- diff --git a/src/mono/wasm/README.md b/src/mono/wasm/README.md index 0a56117..a44edd5 100644 --- a/src/mono/wasm/README.md +++ b/src/mono/wasm/README.md @@ -2,7 +2,7 @@ This depends on `emsdk` to be installed. -## emsdk +## emsdk on mac * You can run `make provision-wasm`, which will install it to `$reporoot/src/mono/wasm/emsdk`. Note: Irrespective of `$(EMSDK_PATH)`'s value, `provision-wasm` will always install into `$reporoot/src/mono/wasm/emsdk`. @@ -21,7 +21,9 @@ Make sure to set `EMSDK_PATH` variable, whenever building, or running tests for Windows build [requirements](https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/windows-requirements.md) -## Building +If `EMSDK_PATH` is not set, the `emsdk` should be provisioned automatically during the build. + +## Building on mac * To build the whole thing, with libraries: @@ -33,7 +35,7 @@ Windows build [requirements](https://github.com/dotnet/runtime/blob/main/docs/wo ### Note: Additional msbuild arguments can be passed with: `make build-all MSBUILD_ARGS="/p:a=b"` -### Windows +### Bulding on windows * To build everything @@ -103,7 +105,7 @@ Examples of running tests for individual libraries: `.\dotnet.cmd build /t:Test /p:TargetOS=Browser src\libraries\System.Collections.Concurrent\tests` `.\dotnet.cmd build /t:Test /p:TargetOS=Browser /p:JSEngine="SpiderMonkey" src\libraries\System.Text.Json\tests` -### Browser tests +### Browser tests on mac Or they can be run with a browser (Chrome): @@ -125,7 +127,7 @@ The wrapper script used to actually run these tests, accepts: ### Note: Additional msbuild arguments can be passed with: `make .. MSBUILD_ARGS="/p:a=b"` -## Debugger tests +## Debugger tests on mac Debugger tests need `Google Chrome` to be installed.