Build tools: Fabfiles

Fabfiles ?

Fabric is a task management tool written in Python, quite similar to make.
Joshfire use it to process recurrent processes

fabfile.py is the equivalent of a Makefile in Fabric.

To run tasks:

$ fab name_of_the_task

To install Fabric: http://docs.fabfile.org/en/1.0.1/installation.html

Available tasks

Adapter Development

The following actions are avalaible in the home directory of the framework :

Code quality check

Pre-production

Thoses tasks are available in joshfabric module, located in build directory.

You can have access to those tasks in your application by creating a fabfile.py file at the application's root, that will contain the following code :


from fabric.api import *
import os,sys
sys.path.append("../../build")
from joshfabric import *

Testing

Available in the tests directory.