[wasm] Add "Installation of JavaScript engines" to README (#49650)
authorRadek Doulik <radek.doulik@gmail.com>
Mon, 15 Mar 2021 16:49:26 +0000 (17:49 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Mar 2021 16:49:26 +0000 (17:49 +0100)
Add information about `jsvu` and how to install it on mac.

src/mono/wasm/README.md

index e4d7aa8..23248b3 100644 (file)
@@ -28,6 +28,26 @@ you are directly using the `dotnet build`, or `build.sh`.
 
 # Running tests
 
+## Installation of JavaScript engines
+
+The latest engines can be installed with jsvu (JavaScript engine Version Updater https://github.com/GoogleChromeLabs/jsvu)
+
+* Install npm with brew:
+
+`brew install npm`
+
+* Install jsvu with npm:
+
+`npm install jsvu -g`
+
+* Run jsvu:
+
+`jsvu`
+
+Add `~/.jsvu` to your `PATH`:
+
+`export PATH="${HOME}/.jsvu:${PATH}"`
+
 ## Libraries tests
 
 Library tests can be run with js engines: `v8`, `SpiderMonkey`,or `JavaScriptCore`: