jamulus/mac/deploy_mac.sh

32 lines
590 B
Bash
Raw Permalink Normal View History

2010-03-13 21:15:50 +01:00
#!/bin/sh
cd ..
# TODO add tag to CVS with current version number
2010-04-12 20:19:33 +02:00
# cvs -n update 2>null | grep -i "M " # error if any file is locally modified!!! -> TODO
2019-03-24 09:54:22 +01:00
# call qmake
qmake Jamulus.pro
# first clean up
2013-02-19 22:20:15 +01:00
rm -rf Jamulus.app
2010-03-13 21:15:50 +01:00
make clean
# make everything
2010-03-13 21:15:50 +01:00
make -j2
# call qt mac deploy tool
2013-02-19 22:20:15 +01:00
macdeployqt Jamulus.app -dmg
# create zip file including COPYING file
2013-02-19 22:20:15 +01:00
zip Jamulus-version-mac.zip Jamulus.dmg COPYING
2010-04-12 20:19:33 +02:00
# move new file in deploy directory
mkdir -p deploy
2013-02-19 22:20:15 +01:00
mv Jamulus-version-mac.zip deploy/Jamulus-version-mac.zip
2010-04-12 20:19:33 +02:00
# cleanup and go back to original directory
2013-02-19 22:20:15 +01:00
rm Jamulus.dmg
2010-03-13 21:15:50 +01:00
cd mac