| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
echo "Exporting svn" |
| 4 |
svn export . boswars |
| 5 |
rm -rf boswars/tools |
| 6 |
rm -rf boswars/engine |
| 7 |
rm -f boswars/bos.sln |
| 8 |
|
| 9 |
wget -N http://www.boswars.org/dependencies/win32/windows-runtime-libs.zip |
| 10 |
unzip windows-runtime-libs.zip |
| 11 |
mv windows-runtime-libs/*.dll boswars/ |
| 12 |
rmdir windows-runtime-libs |
| 13 |
|
| 14 |
cp engine/Release/boswars.exe boswars |
| 15 |
cp tools/installers/nsi/Microsoft.VC80.CRT.manifest boswars |
| 16 |
|
| 17 |
echo "Creating installer" |
| 18 |
"c:/Program Files (x86)/NSIS/makensis.exe" /NOCD tools/installers/nsi/bos.nsi |
| 19 |
|
| 20 |
echo "Cleaning up" |
| 21 |
rm -rf boswars |
| 22 |
|
| 23 |
echo "Done" |
| 24 |
|