Emscripten: fixed build script

This commit is contained in:
Sergii Pylypenko
2021-05-03 00:13:57 +03:00
parent f138d2645c
commit 9623c6bfd2

View File

@@ -57,6 +57,7 @@ mkdir -p baseset
}
[ -e Makefile ] || emcmake cmake .. -DHOST_BINARY_DIR=$(pwd)/build-host -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DOPTION_USE_ASSERTS=OFF || exit 1
rm -f openttd.html
emmake make -j8 VERBOSE=1 || exit 1
cp -f *.html *.js *.data *.wasm ../media/openttd.256.png ../os/emscripten/openttd.webapp /var/www/html/