diff options
Diffstat (limited to 'build/linux-remote.sh')
| -rwxr-xr-x | build/linux-remote.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build/linux-remote.sh b/build/linux-remote.sh new file mode 100755 index 00000000..333e682b --- /dev/null +++ b/build/linux-remote.sh @@ -0,0 +1,22 @@ +#/bin/sh +# Remote into a virtualbox VM to build with MSVC. +# Very specific to my own local setup. ~px + +# VARS. TODO: parametrize +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 +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 +echo "DONE" |
