comparison deploy/osx/build-and-package.sh @ 2377:995a4014a5c8

Further Mac deployment updates
author Chris Cannam
date Wed, 16 Oct 2019 15:29:37 +0100
parents
children
comparison
equal deleted inserted replaced
2376:06246370f210 2377:995a4014a5c8
1 #!/bin/bash
2
3 # This script is very specific to certain Xcode and Qt versions -
4 # review before running, or do a standard build and a deployment with
5 # deploy-and-package.sh instead
6
7 set -eu
8
9 app="Sonic Visualiser"
10
11 version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h`
12
13 volume="$app"-"$version"
14 dmg="$volume".dmg
15 compatdmg="$volume-osx-10.7.dmg"
16
17 ./repoint install
18
19 echo
20 echo "Rebuilding for current macOS..."
21 echo
22
23 rm -rf .qmake.stash
24 $HOME/Qt/5.13.1/clang_64/bin/qmake -r
25 make clean
26 make -j3
27 deploy/osx/deploy-and-package.sh
28
29 echo
30 echo "Done, images are in $dmg and $compatdmg"
31 echo
32