summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-17 11:37:33 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-17 11:37:33 -0500
commit8a119434ac94d18b888550bea1b125aba1ad446e (patch)
tree52b0e3bb47f74253f3f97f5f7f9e297edd4dc335 /python
parent050cfdc4cabb50df1a3f0005e967359dc800131e (diff)
parent170b82c2e254d3aa9b4e5f31f26dc89283a472a6 (diff)
downloadUXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.gz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.lz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.tar.xz
UXP-8a119434ac94d18b888550bea1b125aba1ad446e.zip
Merge branch 'stub-branding-cc'
Diffstat (limited to 'python')
-rw-r--r--python/mozbuild/mozbuild/mach_commands.py18
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."""