/ld27

To get this branch, use:
bzr branch http://9ix.org/bzr/ld27

« back to all changes in this revision

Viewing changes to build.sh

  • Committer: Josh C
  • Date: 2014-07-05 00:04:06 UTC
  • Revision ID: josh@9ix.org-20140705000406-9h8qk5f0j6oz0xo3
try more gracefully handling different "am" versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
# make sure we have löve
6
6
cd deploy/love
7
 
if [ ! -e love-0.9.1-win32.zip ]; then
8
 
    wget https://bitbucket.org/rude/love/downloads/love-0.9.1-win32.zip
9
 
    unzip love-0.9.1-win32.zip || exit 1
 
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
10
10
fi
11
 
if [ ! -e love-0.9.1-macosx-x64.zip ]; then
12
 
    wget https://bitbucket.org/rude/love/downloads/love-0.9.1-macosx-x64.zip
13
 
    unzip love-0.9.1-macosx-x64.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
14
14
fi
15
15
cd ../..
16
16
 
21
21
bzr ls -RV |zip -q@ deploy/decimaze.love
22
22
bzr revert --no-backup version.lua
23
23
 
24
 
grep '^[^-]*require .lovebird.' main.lua && zip deploy/decimaze.love lovebird.lua
25
 
 
26
24
cd deploy
27
25
 
28
26
# package win32
29
27
rm -rf decimaze-win32 decimaze-win32.zip
30
28
mkdir decimaze-win32
31
 
cat love/love-0.9.1-win32/love.exe decimaze.love >decimaze-win32/decimaze.exe
32
 
cp love/love-0.9.1-win32/*.dll 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
33
31
# TODO: this is a spot I could copy a README, LICENSE, or VERSION file in.
34
32
zip -qr decimaze-win32.zip decimaze-win32
35
33