From 00573571a226a0c59dd744da67483864a22911aa Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 14 Nov 2019 21:08:18 -0500 Subject: [Mach] Add stage command to execute stage-package --- python/mozbuild/mozbuild/mach_commands.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'python') diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index c2e1a3e89..05b1f104d 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -1070,6 +1070,14 @@ class ClangCommands(MachCommandBase): print('-I%s/ipc/glue' % self.topsrcdir) print('-I%s/ipc/ipdl/_ipdlheaders' % self.topobjdir) +@CommandProvider +class Stage_Package(MachCommandBase): + """Stage the built product for distribution but do not create an archive.""" + + @Command('stage', category='post-build', + description='Stage the built product for distribution but do not create an archive.') + def stage_package(self): + return self._run_make(directory=".", target='stage-package', ensure_exit_code=False) @CommandProvider class Package(MachCommandBase): -- cgit v1.2.3