build_release: Use -quiet for hdiutil
This commit is contained in:
parent
86bd42ec93
commit
e2ea04691e
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user