eco2d/web/build.sh

11 lines
162 B
Bash
Raw Normal View History

2022-09-11 23:52:01 +00:00
#!/bin/bash
set -xe
pushd build_web
2022-09-12 06:54:59 +00:00
BUILD_PATH_PREFIX_MAP=$(pwd)=. cmake --build . --parallel
2022-09-11 23:52:01 +00:00
if [ -f "eco2d.html" ]; then
mv eco2d.html index.html
fi
popd