/traderous

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

« back to all changes in this revision

Viewing changes to build.sh

  • Committer: Josh C
  • Date: 2013-06-30 14:59:35 UTC
  • Revision ID: josh@9ix.org-20130630145935-y34o51cg3lsom5bg
"safe" zone on planets - no new enemies will track you if you're there.

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