mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1240945 - Add a --verbose option to mach package. r=mshal
This commit is contained in:
parent
cb01c6d8af
commit
91ad32f0f1
@ -1009,8 +1009,11 @@ class Package(MachCommandBase):
|
||||
|
||||
@Command('package', category='post-build',
|
||||
description='Package the built product for distribution as an APK, DMG, etc.')
|
||||
def package(self):
|
||||
ret = self._run_make(directory=".", target='package', ensure_exit_code=False)
|
||||
@CommandArgument('-v', '--verbose', action='store_true',
|
||||
help='Verbose output for what commands the packaging process is running.')
|
||||
def package(self, verbose=False):
|
||||
ret = self._run_make(directory=".", target='package',
|
||||
silent=not verbose, ensure_exit_code=False)
|
||||
if ret == 0:
|
||||
self.notify('Packaging complete')
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user