mirror of https://github.com/pyodide/pyodide.git
10 lines
325 B
Bash
Executable File
10 lines
325 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ROOT=`dirname ${BASH_SOURCE[0]}`
|
|
|
|
# emsdk_env.sh is fairly noisy, and suppress error message if the file doesn't
|
|
# exist yet (i.e. before building emsdk)
|
|
source "$ROOT/emsdk/emsdk/emsdk_env.sh" 2> /dev/null || true
|
|
export PATH=$ROOT/node_modules/.bin/:$PATH
|
|
export EM_DIR=$(dirname $(which emcc.py || echo "."))
|