mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Issue #1303 - Add langpack generation targets for Pale Moon and Basilisk
* The langpack is not generated via the package target but IS for mozpackage target using old behavior * Add mach command to specifically generate the langpack when needed without the rest of the packaging routine (mach langpack)
This commit is contained in:
@@ -1079,6 +1079,15 @@ class Stage_Package(MachCommandBase):
|
||||
def stage_package(self):
|
||||
return self._run_make(directory=".", target='stage-package', ensure_exit_code=False)
|
||||
|
||||
@CommandProvider
|
||||
class L10n_Package(MachCommandBase):
|
||||
"""Build and package l10n as a language pack xpi."""
|
||||
|
||||
@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)
|
||||
|
||||
@CommandProvider
|
||||
class Package(MachCommandBase):
|
||||
"""Package the built product for distribution."""
|
||||
|
||||
Reference in New Issue
Block a user