2020-04-11 12:16:45 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-08-27 05:39:46 +02:00
|
|
|
set -ex
|
|
|
|
|
2018-11-19 15:49:56 +01:00
|
|
|
# shellcheck disable=SC1091
|
2017-08-27 05:39:46 +02:00
|
|
|
source /emsdk-portable/emsdk_env.sh &> /dev/null
|
|
|
|
|
|
|
|
# emsdk-portable provides a node binary, but we need version 8 to run wasm
|
2020-08-20 05:53:03 +02:00
|
|
|
# NOTE: Do not forget to sync Node.js version with `emscripten.sh`!
|
|
|
|
export PATH="/node-v12.18.3-linux-x64/bin:$PATH"
|
2017-08-27 05:39:46 +02:00
|
|
|
|
|
|
|
exec "$@"
|