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

Sort tasks in __init__ by alphabet

parent 35149929
...@@ -27,6 +27,25 @@ def init(): ...@@ -27,6 +27,25 @@ def init():
execute(behat.init, host='root@{}'.format(env.container_ip)) 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 @task
def test(tags=''): def test(tags=''):
""" """
...@@ -43,16 +62,6 @@ def test(tags=''): ...@@ -43,16 +62,6 @@ def test(tags=''):
execute(behat.run, tags='{}'.format(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 @task
def update(): def update():
""" """
...@@ -61,12 +70,3 @@ def update(): ...@@ -61,12 +70,3 @@ def update():
execute(drush.make, 'update') execute(drush.make, 'update')
execute(drush.updatedb) execute(drush.updatedb)
execute(behat.init) 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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment