annotate deploy/osx/build-all.sh @ 571:012ba1b83328

Show cancel button with progress bar only when running an operation that it makes sense to cancel (we don't really want people cancelling e.g. initial folder scan because it would leave things in an inconsistent state)
author Chris Cannam
date Thu, 01 Mar 2012 22:53:54 +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