mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Don't build assets emscripten
This commit is contained in:
@@ -99,26 +99,8 @@ build_ext() {
|
|||||||
cd $START_DIR
|
cd $START_DIR
|
||||||
}
|
}
|
||||||
|
|
||||||
build_assets() {
|
|
||||||
mkdir temp/
|
|
||||||
cd temp/
|
|
||||||
cmake ../../ -DMACOS_BUNDLE=off -DDISABLE_NETWORK=on -DDISABLE_GUI=off
|
|
||||||
make openrct2-cli -j$(nproc)
|
|
||||||
make g2 -j$(nproc)
|
|
||||||
DESTDIR=. make install
|
|
||||||
mkdir -p ../static/assets/
|
|
||||||
cp -r usr/local/share/openrct2/* ../static/assets/
|
|
||||||
cd ../static/assets
|
|
||||||
zip -r ../assets.zip *
|
|
||||||
cd ../
|
|
||||||
rm -rf assets/
|
|
||||||
|
|
||||||
cd $START_DIR
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$1" != "skip" ] ; then
|
if [ "$1" != "skip" ] ; then
|
||||||
build_ext
|
build_ext
|
||||||
build_assets
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
emcmake cmake ../ \
|
emcmake cmake ../ \
|
||||||
|
|||||||
Reference in New Issue
Block a user