13 lines
311 B
Bash
Executable File
13 lines
311 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
# shellcheck disable=SC1091
|
|
source /emsdk-portable/emsdk_env.sh &> /dev/null
|
|
|
|
# emsdk-portable provides a node binary, but we need version 8 to run wasm
|
|
# NOTE: Do not forget to sync Node.js version with `emscripten.sh`!
|
|
export PATH="/node-v12.18.3-linux-x64/bin:$PATH"
|
|
|
|
exec "$@"
|