[Mach] Add stage command to execute stage-package.

This commit is contained in:
Fedor 2019-12-25 15:46:00 +03:00
parent 41d0dc16ca
commit 058d588895
1 changed files with 8 additions and 0 deletions

View File

@ -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):