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")
with tempfile.TemporaryDirectory() as tmpdir:
subprocess.check_call(['hdiutil', 'attach', 'qutebrowser.dmg',
'-mountpoint', tmpdir])
subprocess.check_call(['hdiutil', 'attach', '-quiet',
'qutebrowser.dmg', '-mountpoint', tmpdir])
try:
binary = os.path.join(tmpdir, 'qutebrowser.app', 'Contents',
'MacOS', 'qutebrowser')
subprocess.check_call([binary])
finally:
subprocess.check_call(['hdiutil', 'detach', tmpdir])
subprocess.check_call(['hdiutil', 'detach', '-quiet', tmpdir])
def build_windows():