build_release: Build dmg via Makefile-dmg

This commit is contained in:
Florian Bruhin 2016-04-06 21:22:30 +02:00
parent 03be10b4fe
commit 3984437484

View File

@ -93,6 +93,13 @@ def build_osx():
"""Build OS X .dmg/.app."""
utils.print_title("Building .app via pyinstaller")
call_tox('pyinstaller')
utils.print_title("Building .dmg")
subprocess.check_call(['make', '-f', 'scripts/dev/Makefile-dmg'])
utils.print_title("Cleaning up...")
for f in ['wc.dmg', 'template.dmg']:
os.remove(f)
for d in ['dist', 'build']:
shutil.rmtree(d)
def build_windows():