diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-01-13 04:53:59 -0600 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-13 15:37:31 +0200 |
commit | a0da6b5b68c644003c84e1258b15029369c1b0a9 (patch) | |
tree | 4ef953a24272e36a18117848084420fbf8a8de26 | |
parent | d90ce1e30a9046a48b22135672c4cf72cc840b37 (diff) | |
download | uxp-a0da6b5b68c644003c84e1258b15029369c1b0a9.tar.gz |
No Issue - Update mach langpack with -v
-rw-r--r-- | python/mozbuild/mozbuild/mach_commands.py | 10 |
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): |