eco2d/web/build.sh

12 lines
140 B
Bash
Raw Normal View History

2022-09-11 23:52:01 +00:00
#!/bin/bash
set -xe
cmake --build build_web --parallel
pushd build_web
if [ -f "eco2d.html" ]; then
mv eco2d.html index.html
fi
popd