Declare and improve invoke tasks
parent
f4d3a93a5c
commit
173991f6ab
31
tasks.py
31
tasks.py
|
@ -1,6 +1,4 @@
|
||||||
"""
|
"""Read the Docs tasks."""
|
||||||
Read the Docs tasks
|
|
||||||
"""
|
|
||||||
|
|
||||||
from __future__ import division, print_function, unicode_literals
|
from __future__ import division, print_function, unicode_literals
|
||||||
|
|
||||||
|
@ -14,15 +12,28 @@ import common.tasks
|
||||||
ROOT_PATH = os.path.dirname(__file__)
|
ROOT_PATH = os.path.dirname(__file__)
|
||||||
|
|
||||||
|
|
||||||
# TODO make these tasks namespaced
|
namespace = Collection()
|
||||||
# release = Collection(common.tasks.prepare, common.tasks.release)
|
namespace.add_collection(
|
||||||
|
Collection(
|
||||||
namespace = Collection(
|
common.tasks.prepare,
|
||||||
common.tasks.prepare,
|
common.tasks.release,
|
||||||
common.tasks.release,
|
),
|
||||||
#release=release,
|
name='deploy',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
namespace.add_collection(
|
||||||
|
Collection(
|
||||||
|
common.tasks.setup_labels,
|
||||||
|
),
|
||||||
|
name='github',
|
||||||
|
)
|
||||||
|
|
||||||
|
namespace.add_collection(
|
||||||
|
Collection(
|
||||||
|
common.tasks.upgrade_all_packages,
|
||||||
|
),
|
||||||
|
name='packages',
|
||||||
|
)
|
||||||
|
|
||||||
# Localization tasks
|
# Localization tasks
|
||||||
@task
|
@task
|
||||||
|
|
Loading…
Reference in New Issue