summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/examples/fixeddecimal_wasm/README
diff options
context:
space:
mode:
Diffstat (limited to 'intl/icu_capi/cpp/examples/fixeddecimal_wasm/README')
-rw-r--r--intl/icu_capi/cpp/examples/fixeddecimal_wasm/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/intl/icu_capi/cpp/examples/fixeddecimal_wasm/README b/intl/icu_capi/cpp/examples/fixeddecimal_wasm/README
new file mode 100644
index 0000000000..1299d40bf0
--- /dev/null
+++ b/intl/icu_capi/cpp/examples/fixeddecimal_wasm/README
@@ -0,0 +1,7 @@
+This folder contains a test for calling ICU4X from C++ compiled to WASM (via emscripten).
+
+You need the [Emscripten SDK](https://emscripten.org/docs/getting_started/downloads.html) downloaded and sourced into your environment to run this.
+
+There are two ways to run the test. Firstly, you can call `make test`, which runs `node node-test.js` after building the appropriate WASM files. This runs a CLI test with the fixed decimal example in test.cpp.
+
+The other way is to run `make serve`, which will open a web page running test.cpp in your browser. \ No newline at end of file