mirror of
https://github.com/NaN-tic/tryton-gtk2.git
synced 2023-12-14 03:12:58 +01:00
6c13a9a8b1
issue6116 review29821002
15 lines
392 B
Bash
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
|