5
# make sure we have löve
7
if [ ! -e love-0.8.0-win-x86.zip ]; then
8
wget https://bitbucket.org/rude/love/downloads/love-0.8.0-win-x86.zip
9
unzip love-0.8.0-win-x86.zip || exit 1
11
if [ ! -e love-0.8.0-macosx-ub.zip ]; then
12
wget https://bitbucket.org/rude/love/downloads/love-0.8.0-macosx-ub.zip
13
unzip love-0.8.0-macosx-ub.zip || exit 1
18
V=`bzr version-info --custom --template={revno}`
19
echo "VERSION = '$V'" >version.lua
20
rm -f deploy/OneAmongMany.love
21
bzr ls -RV |zip -q@ deploy/OneAmongMany.love
22
bzr revert --no-backup version.lua
27
rm -rf OneAmongMany-win32 OneAmongMany-win32.zip
28
mkdir OneAmongMany-win32
29
cat love/love-0.8.0-win-x86/love.exe OneAmongMany.love >OneAmongMany-win32/OneAmongMany.exe
30
cp love/love-0.8.0-win-x86/*.dll OneAmongMany-win32
31
# TODO: this is a spot I could copy a README, LICENSE, or VERSION file in.
32
zip -qr OneAmongMany-win32.zip OneAmongMany-win32
35
rm -rf "One Among Many.app" OneAmongMany-macosx.zip
36
cp -r love/love.app "One Among Many.app"
37
cp OneAmongMany.love "One Among Many.app"/Contents/Resources/
38
cp ../Info.plist "One Among Many.app"/Contents/
39
zip -qry OneAmongMany-macosx.zip "One Among Many.app"