Bug 820179 - Mach command for packaging. r=gps

This commit is contained in:
Richard Newman 2012-12-11 11:42:11 -08:00
parent 8efbbfddf2
commit 29e53949c6

View File

@ -129,3 +129,10 @@ class Warnings(MachCommandBase):
print('%s:%d [%s] %s' % (filename, warning['line'],
warning['flag'], warning['message']))
@CommandProvider
class Package(MachCommandBase):
"""Package the built product for distribution."""
@Command('package', help='Package the built product for distribution as an APK, DMG, etc.')
def package(self):
return self._run_make(directory=".", target='package', ensure_exit_code=False)