/ld28

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

« back to all changes in this revision

Viewing changes to build.sh

  • Committer: Josh C
  • Date: 2013-12-14 05:24:01 UTC
  • Revision ID: josh@9ix.org-20131214052401-8b2cma95lsvw7avq
rename NotPlayer to Clone cuz they're clones, and it's way too early 
for a class name like NotPlayer.

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