mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #1859 - Part 6: Update mach mar to accept --bz2 for old style MAR
So we can build bzip2 MARs for selectively updating older versions of the applications that don't understand xz.
This commit is contained in:
parent
b0e0cd7f92
commit
6c1c2339bc
3 changed files with 29 additions and 3 deletions
|
|
@ -1137,8 +1137,13 @@ class Mar(MachCommandBase):
|
|||
|
||||
@Command('mar', category='post-build',
|
||||
description='Create the mar file for the built product for distribution.')
|
||||
def mar(self):
|
||||
return self._run_make(directory="./tools/update-packaging/", target='', ensure_exit_code=False)
|
||||
@CommandArgument('--bz2', action='store_true',
|
||||
help='Compress the mar package with old-style bz2 instead of xz')
|
||||
def mar(self, bz2):
|
||||
if bz2:
|
||||
return self._run_make(directory="./tools/update-packaging/", target='mar-package-bz2', ensure_exit_code=False)
|
||||
else:
|
||||
return self._run_make(directory="./tools/update-packaging/", target='mar-package', ensure_exit_code=False)
|
||||
|
||||
@CommandProvider
|
||||
class Install(MachCommandBase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue