Bug 820179 - Mach command for packaging. r=gps

This commit is contained in:
Richard Newman 2012-12-11 11:42:11 -08:00
parent 97204a88c1
commit e84b1132f7

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)