~commonsense/luminoso/trunk

« back to all changes in this revision

Viewing changes to mac_build.sh

  • Committer: Robert Speer
  • Date: 2010-02-24 21:03:39 UTC
  • Revision ID: rspeer@new-caledonia.media.mit.edu-20100224210339-3fha4qwfh0lkfp1i
making the mac build work better

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
 
# usage: build_mac.sh <version>
 
2
# usage: mac_build.sh <version>
3
3
 
4
4
rm -r dist/Luminoso.app
 
5
rm dist/Luminoso-$1.dmg
 
6
rm -r DMGSkeleton/Luminoso.app
5
7
python setup.py py2app \
6
8
&& macdeployqt dist/Luminoso.app \
7
9
&& cp -r icons/ dist/Luminoso.app/Contents/MacOS/icons \
8
 
&& rsync -a dist/Luminoso.app DMGSkeleton/Luminoso.app \
 
10
&& cp -r dist/Luminoso.app DMGSkeleton/Luminoso.app \
9
11
&& hdiutil create dist/Luminoso-$1.dmg -volname "Luminoso $1" -fs HFS+ -srcfolder DMGSkeleton
10
12