Commit ba7fc7fa authored by 20th (Victor Nikulshin)'s avatar 20th (Victor Nikulshin)
Browse files

Sort tasks in __init__ by alphabet

parent 35149929
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -27,6 +27,25 @@ def init():
    execute(behat.init, host='root@{}'.format(env.container_ip))


@task
def install():
    """
    Run the full installation process.
    """
    execute(drush.make, 'install')
    execute(drush.site_install)
    execute(behat.init)


@task
def release():
    """
    Generate all artefacts related to a release process or a deployment process.
    """
    execute(drush.archive_dump)
    execute(drush.gen_doc)


@task
def test(tags=''):
    """
@@ -43,16 +62,6 @@ def test(tags=''):
        execute(behat.run, tags='{}'.format(tags))


@task
def install():
    """
    Run the full installation process.
    """
    execute(drush.make, 'install')
    execute(drush.site_install)
    execute(behat.init)


@task
def update():
    """
@@ -61,12 +70,3 @@ def update():
    execute(drush.make, 'update')
    execute(drush.updatedb)
    execute(behat.init)


@task
def release():
    """
    Generate all artefacts related to a release process or a deployment process.
    """
    execute(drush.archive_dump)
    execute(drush.gen_doc)