|
|
|
git update-index --assume-unchanged "Adventures in Lestoria/packkey.cpp"
|
|
|
|
clear
|
|
|
|
rm -R bin
|
|
|
|
mkdir bin
|
|
|
|
mkdir bin/assets
|
|
|
|
cp -R 'Adventures in Lestoria/buildtemplate.html' bin/index.html
|
|
|
|
cp -R "Adventures in Lestoria/assets/Campaigns" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/config" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/maps" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/backgrounds" bin/assets
|
|
|
|
rm -R bin/assets/backgrounds/commercial_assets
|
|
|
|
rm -R bin/assets/maps/commercial_assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/monsters" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/music" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/npcs" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/sounds" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/gamepack.pak" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/themes" bin/assets
|
|
|
|
cp -R "Adventures in Lestoria/assets/*.ttf" bin/assets
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
|
|
|
|
emcmake cmake -DCMAKE_BUILD_TYPE=Release .
|
|
|
|
cmake --build . -j 20
|