summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/mozbuild/mozbuild/mach_commands.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py
index e299fca18a..a2983b48c2 100644
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -1086,8 +1086,14 @@ class L10n_Package(MachCommandBase):
@Command('langpack', category='post-build',
description='Build and package l10n as a language pack.')
- def l10n_package(self):
- return self._run_make(directory=".", target='l10n-package', ensure_exit_code=False)
+ @CommandArgument('-v', '--verbose', action='store_true',
+ help='Verbose output for what commands the packaging process is running.')
+ def l10n_package(self, verbose=False):
+ ret = self._run_make(directory=".", target='l10n-package',
+ silent=not verbose, ensure_exit_code=False)
+ if ret == 0:
+ self.notify('Packaging complete')
+ return ret
@CommandProvider
class Package(MachCommandBase):