small web tweaks
parent
cbfb40a099
commit
2516be7920
|
@ -3,7 +3,11 @@
|
|||
set -xe
|
||||
|
||||
pushd build_web
|
||||
BUILD_PATH_PREFIX_MAP=$(pwd)=. cmake --build . --parallel
|
||||
if [ -f "index.html" ]; then
|
||||
rm -rf index.html
|
||||
fi
|
||||
|
||||
cmake --build . --parallel
|
||||
if [ -f "eco2d.html" ]; then
|
||||
mv eco2d.html index.html
|
||||
fi
|
||||
|
|
|
@ -19,11 +19,6 @@ if [ ! -d "butler" ]; then
|
|||
popd
|
||||
fi
|
||||
|
||||
# Build web
|
||||
if [ -f "build_web/index.html" ]; then
|
||||
rm -rf build_web/index.html
|
||||
fi
|
||||
|
||||
# Build the project
|
||||
web/build.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue