ShapeUp-publicShapeUp/webbuild.sh

13 lines
261 B
Bash
Raw Normal View History

2024-05-02 20:00:21 +00:00
ROOT=$(pwd)
cd ../3rdParty/emsdk/
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
cd $ROOT
EMSDK_PATH=$HOME/3rdParty/emsdk
PATH=$(printenv PATH):$EMSDK:$EMSCRIPTEN_PATH:$CLANG_PATH:$NODE_PATH:$PYTHON_PATH
rm -r build
make -f Makefile.Web