dfhack/build/linux-remote.sh

23 lines
458 B
Bash

#/bin/sh
# Remote into a virtualbox VM to build with MSVC.
# Very specific to my own local setup. ~px
# VARS. TODO: parametrize
2011-03-14 02:30:50 -06:00
export DFHACK_VER=0.5.7
export PKG=dfhack-bin-$DFHACK_VER
export TARGET=Release
# let's build it all
VBoxManage startvm "7 Prof"
sleep 20
2011-03-14 18:53:01 -06:00
expect linux-remote.expect $TARGET
echo "Creating package..."
cd ../output/$TARGET
rm -r $PKG
rm $PKG.zip
mkdir $PKG
mv *.exe *.dll *.html *.txt *.xml $PKG
zip -r $PKG.zip $PKG
2011-03-14 02:30:50 -06:00
echo "DONE"