tryton-gtk2/make-darwin-installer.sh
C?dric Krier 6c13a9a8b1 Ensure to compile catalog when doing a build
issue6116
review29821002
2016-12-17 00:45:27 +01:00

15 lines
392 B
Bash

#!/bin/sh
version=`python setup.py --version`
python setup.py compile_catalog
python setup-freeze.py bdist_mac
rm -rf dist
mkdir dist
mv build/Tryton.app dist/
for f in CHANGELOG COPYRIGHT LICENSE README; do
cp ${f} dist/${f}.txt
done
cp -r doc dist/
rm -f "tryton-${version}.dmg"
hdiutil create "tryton-${version}.dmg" -volname "Tryton Client ${version}" \
-fs HFS+ -srcfolder dist