/ld27

To get this branch, use:
bzr branch /bzr/ld27

« back to all changes in this revision

Viewing changes to build.sh

  • Committer: Josh C
  • Date: 2013-08-26 00:38:14 UTC
  • Revision ID: josh@9ix.org-20130826003814-zi36hgt8co873c9l
name the game

Show diffs side-by-side

added added

removed removed

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/ld27.love
21
 
bzr ls -RV |zip -q@ deploy/ld27.love
 
20
rm -f deploy/decimaze.love
 
21
bzr ls -RV |zip -q@ deploy/decimaze.love
22
22
bzr revert --no-backup version.lua
23
23
 
24
24
cd deploy
25
25
 
26
26
# package win32
27
 
rm -rf ld27-win32 ld27-win32.zip
28
 
mkdir ld27-win32
29
 
cat love/love-0.8.0-win-x86/love.exe ld27.love >ld27-win32/ld27.exe
30
 
cp love/love-0.8.0-win-x86/*.dll ld27-win32
 
27
rm -rf decimaze-win32 decimaze-win32.zip
 
28
mkdir decimaze-win32
 
29
cat love/love-0.8.0-win-x86/love.exe decimaze.love >decimaze-win32/decimaze.exe
 
30
cp love/love-0.8.0-win-x86/*.dll decimaze-win32
31
31
# TODO: this is a spot I could copy a README, LICENSE, or VERSION file in.
32
 
zip -qr ld27-win32.zip ld27-win32
 
32
zip -qr decimaze-win32.zip decimaze-win32
33
33
 
34
34
# package osx
35
 
rm -rf ld27.app ld27-macosx.zip
36
 
cp -r love/love.app ld27.app
37
 
cp ld27.love ld27.app/Contents/Resources/
38
 
cp ../Info.plist ld27.app/Contents/
39
 
zip -qry ld27-macosx.zip ld27.app
 
35
rm -rf "Treasures of the Decimaze.app" decimaze-macosx.zip
 
36
cp -r love/love.app "Treasures of the Decimaze.app"
 
37
cp decimaze.love "Treasures of the Decimaze.app"/Contents/Resources/
 
38
cp ../Info.plist "Treasures of the Decimaze.app"/Contents/
 
39
zip -qry decimaze-macosx.zip "Treasures of the Decimaze.app"
40
40
 
41
41
cd ..