docs: Add wasm script generation doc

This commit is contained in:
Jerome Laban 2021-08-23 17:33:04 -04:00
Родитель 748dae27e8
Коммит ea6aaf0be2
2 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

@ -41,6 +41,8 @@ Prerequisites:
- Open [src\Calculator.sln](/src/Calculator.sln) in Visual Studio to build and run the Calculator app.
If building for WebAssembly fails, make sure to follow the notes in the `calculator/src/CalcManager/build.sh` file.
## Contributing
We ❤ contributions. The team encourages community feedback and contributions. Please follow our [contributing guidelines](CONTRIBUTING.md).

Просмотреть файл

@ -1,3 +1,14 @@
# To run this script locally:
# - if cloned from windows, ensure that line endings are `LF`
# - under linux: cd to your_path\calculator\src\CalcManager
# - under WSL: cd `wslpath "your_path\calculator\src\CalcManager"`
# Execute the following:
# git clone --branch 2.0.23 https://github.com/emscripten-core/emsdk
# ./emsdk install 2.0.23
# ./emsdk activate 2.0.23
# source ./emsdk_env.sh
# Navigate back to this file's folder in the same terminal
mkdir -p bin/wasm
echo Generating LLVM Bitcode files