python/mozboot/mozboot/mach_commands.py
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 04 Nov 2014 13:19:33 +0000
changeset 213963 0a16d59bad1edf29c40f1de6dc16cbf129420f59
parent 131325 dac8cb02fd216d408a9da4329b9d0ee1cb940b7a
child 235893 583035a90903b06c60e434f25f70a74bbfe82f4e
permissions -rw-r--r--
Bug 1080801 - update comments for notification-related tests, rs=comments-only DONTBUILD because comments-only change.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this,
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from __future__ import unicode_literals

from mach.decorators import (
    CommandArgument,
    CommandProvider,
    Command,
)


@CommandProvider
class Bootstrap(object):
    """Bootstrap system and mach for optimal development experience."""

    @Command('bootstrap', category='devenv',
        description='Install required system packages for building.')
    def bootstrap(self):
        from mozboot.bootstrap import Bootstrapper

        bootstrapper = Bootstrapper()
        bootstrapper.bootstrap()