Javascript / WASM sample build script - #3030
Conversation
|
Thanks for this contribution, @kwokcb! Bringing the sample build flow to Linux and macOS is a welcome step, and taking the emsdk and MaterialX locations as arguments is an improvement over the hand-edited paths in the Windows scripts. One correctness issue that I'd consider important to address: Before we commit to a direction, though, I'd like to propose an alternative. Rather than maintaining parallel
The script could do exactly what the current scripts do and no more, printing each command as it runs, with a Does that sound like a reasonable path forward? |
Change
Add sample scripts to build or clean Javascript / WASM bindings on Linux or Mac.
Similar to the Windows but, with the only noticeable difference is the node version needs to be checked and updated as needed.
Assumes is being done from root of MaterialX with emsdk in a sibling folder. Input arguments can be used to set this w/o hand-editing the script.