/ld26

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

« back to all changes in this revision

Viewing changes to build.sh

  • Committer: Josh C
  • Date: 2013-04-28 20:31:58 UTC
  • Revision ID: josh@9ix.org-20130428203158-uan2kd0ybns063vb
cleanup

Show diffs side-by-side

added added

removed removed

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