eco2d/web/build.sh

11 lines
162 B
Bash
Executable File

#!/bin/bash
set -xe
pushd build_web
BUILD_PATH_PREFIX_MAP=$(pwd)=. cmake --build . --parallel
if [ -f "eco2d.html" ]; then
mv eco2d.html index.html
fi
popd