mirror of
https://github.com/luxfi/blst.git
synced 2026-10-30 17:01:37 +00:00
14 lines
313 B
Plaintext
Executable File
14 lines
313 B
Plaintext
Executable File
#!/bin/sh -e
|
|
|
|
cd `dirname $0`
|
|
|
|
python3 build.py "$@"
|
|
|
|
NODE=`which ${NODE:-${EMSDK_NODE:-node}} 2>&1` || NODE=`which nodejs`
|
|
env NODE_PATH=.: $NODE runnable.js
|
|
|
|
if [ "$OLDPWD" = "$PWD" ]; then
|
|
echo "To test from browser start 'python3 -m http.server -b localhost'"
|
|
echo "and browse to runnable.html..."
|
|
fi
|