annotate deploy/osx/build-all.sh @ 537:a4e699d32a9a

gah! hg 2.1 changes push and pull so as to return failure codes on success, if there was nothing to push or pull
author Chris Cannam
date Fri, 10 Feb 2012 13:08:07 +0000
parents 71523ce87fb7
children
rev   line source
Chris@468 1 #!/bin/bash
Chris@468 2
Chris@468 3 # Carbon (10.4+ PPC/i386).
Chris@468 4 #
Chris@468 5 $HOME/qt-builds/qt-471-carbon-10.4u/bin/qmake -spec macx-g++40 || exit
Chris@468 6 make clean && make && \
Chris@468 7 cp EasyMercurial.app/Contents/MacOS/EasyMercurial \
Chris@468 8 EasyMercurial.carbon.app/Contents/MacOS/ && \
Chris@468 9 bash deploy/osx/paths.sh EasyMercurial.carbon
Chris@468 10
Chris@468 11 # Cocoa (10.6+ x86_64)
Chris@468 12 #
Chris@468 13 /usr/bin/qmake -spec macx-g++ || exit
Chris@468 14 make clean && make && \
Chris@468 15 cp EasyMercurial.app/Contents/MacOS/EasyMercurial \
Chris@468 16 EasyMercurial.cocoa.app/Contents/MacOS/ && \
Chris@468 17 bash deploy/osx/paths.sh EasyMercurial.cocoa
Chris@468 18
Chris@468 19 # Complicated lipo business
Chris@468 20 #
Chris@468 21 bash deploy/osx/combine.sh || exit 1
Chris@468 22
Chris@468 23 # Info.plist etc and make dmg
Chris@468 24 bash deploy/osx/deploy.sh EasyMercurial.app EasyMercurial
Chris@468 25
Chris@468 26
Chris@468 27
Chris@468 28