diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-18 10:38:55 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-18 10:38:55 +0100 |
commit | 5839763c827cc35973e419026f926e9b8ffc118d (patch) | |
tree | 11fd29c791adc491430a7a9b516224c2a724868e /python | |
parent | 83c4b04a70d2319d4c292e7aa0c8872e7c1cd7fa (diff) | |
parent | 45f2fcd80d2a7d536e8b486c18415a337b56cb46 (diff) | |
download | UXP-5839763c827cc35973e419026f926e9b8ffc118d.tar UXP-5839763c827cc35973e419026f926e9b8ffc118d.tar.gz UXP-5839763c827cc35973e419026f926e9b8ffc118d.tar.lz UXP-5839763c827cc35973e419026f926e9b8ffc118d.tar.xz UXP-5839763c827cc35973e419026f926e9b8ffc118d.zip |
Merge branch 'master' into ported-moebius
# Conflicts:
# browser/installer/windows/nsis/stub.nsi
Diffstat (limited to 'python')
-rw-r--r-- | python/mozbuild/mozbuild/mach_commands.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index b6802a47c..ae71d0868 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -1076,6 +1076,24 @@ class Package(MachCommandBase): return ret @CommandProvider +class Installer(MachCommandBase): + """Create the windows installer for the built product.""" + + @Command('installer', category='post-build', + description='Create the installer for the built product for distribution.') + def installer(self): + return self._run_make(directory=".", target='installer', ensure_exit_code=False) + +@CommandProvider +class Mar(MachCommandBase): + """Create the mar file for the built product.""" + + @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) + +@CommandProvider class Install(MachCommandBase): """Install a package.""" |