17
17
# make the love file
18
18
V=`bzr version-info --custom --template={revno}`
19
19
echo "VERSION = '$V'" >version.lua
20
rm -f deploy/zoeplat.love
21
bzr ls -RV |zip -q@ deploy/zoeplat.love
20
rm -f deploy/basecode.love
21
bzr ls -RV |zip -q@ deploy/basecode.love
22
22
bzr revert --no-backup version.lua
27
rm -rf zoeplat-win32 zoeplat-win32.zip
29
cat love/love-0.8.0-win-x86/love.exe zoeplat.love >zoeplat-win32/zoeplat.exe
30
cp love/love-0.8.0-win-x86/*.dll zoeplat-win32
27
rm -rf basecode-win32 basecode-win32.zip
29
cat love/love-0.8.0-win-x86/love.exe basecode.love >basecode-win32/basecode.exe
30
cp love/love-0.8.0-win-x86/*.dll basecode-win32
31
31
# TODO: this is a spot I could copy a README, LICENSE, or VERSION file in.
32
zip -qr zoeplat-win32.zip zoeplat-win32
32
zip -qr basecode-win32.zip basecode-win32
35
rm -rf zoeplat.app zoeplat-macosx.zip
36
cp -r love/love.app zoeplat.app
37
cp zoeplat.love zoeplat.app/Contents/Resources/
38
cp ../Info.plist zoeplat.app/Contents/
39
zip -qry zoeplat-macosx.zip zoeplat.app
35
rm -rf basecode.app basecode-macosx.zip
36
cp -r love/love.app basecode.app
37
cp basecode.love basecode.app/Contents/Resources/
38
cp ../Info.plist basecode.app/Contents/
39
zip -qry basecode-macosx.zip basecode.app