build_release: Use -quiet for hdiutil

This commit is contained in:
Florian Bruhin 2016-07-26 16:39:10 +02:00
parent 86bd42ec93
commit e2ea04691e

View File

@ -106,14 +106,14 @@ def build_osx():
utils.print_title("Running smoke test") utils.print_title("Running smoke test")
with tempfile.TemporaryDirectory() as tmpdir: with tempfile.TemporaryDirectory() as tmpdir:
subprocess.check_call(['hdiutil', 'attach', 'qutebrowser.dmg', subprocess.check_call(['hdiutil', 'attach', '-quiet',
'-mountpoint', tmpdir]) 'qutebrowser.dmg', '-mountpoint', tmpdir])
try: try:
binary = os.path.join(tmpdir, 'qutebrowser.app', 'Contents', binary = os.path.join(tmpdir, 'qutebrowser.app', 'Contents',
'MacOS', 'qutebrowser') 'MacOS', 'qutebrowser')
subprocess.check_call([binary]) subprocess.check_call([binary])
finally: finally:
subprocess.check_call(['hdiutil', 'detach', tmpdir]) subprocess.check_call(['hdiutil', 'detach', '-quiet', tmpdir])
def build_windows(): def build_windows():