2018-05-15 16:57:56 +02:00
|
|
|
"""
|
|
|
|
Fabric is a Python library for performing devops tasks. If you have Fabric installed (systemwide or via pip) you can
|
|
|
|
run commands like this:
|
|
|
|
|
|
|
|
$ fab code_quality
|
|
|
|
|
|
|
|
For a list of commands:
|
|
|
|
|
|
|
|
$ fab -l
|
|
|
|
|
|
|
|
For help on fabric itself:
|
|
|
|
|
|
|
|
$ fab -h
|
|
|
|
|
|
|
|
For more help on a particular command
|
|
|
|
"""
|
|
|
|
|
|
|
|
from fabric.api import env
|
|
|
|
|
2018-06-27 11:41:11 +02:00
|
|
|
from fabfile.tasks import code_quality, build_docs, push_docs, clean, test
|
2018-05-15 16:57:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Without this, `fab -l` would display the whole docstring as preamble
|
|
|
|
__doc__ = ""
|
|
|
|
|
|
|
|
# This list defines which tasks are made available to the user
|
|
|
|
__all__ = [
|
|
|
|
"code_quality",
|
2018-06-11 20:11:55 +02:00
|
|
|
"test",
|
2018-05-26 14:43:21 +02:00
|
|
|
"build_docs",
|
|
|
|
"push_docs",
|
|
|
|
"clean",
|
2018-05-15 16:57:56 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
# Honour the user's ssh client configuration
|
|
|
|
env.use_ssh_config = True
|