Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 416 Bytes
from fabric.api import local
def test():
"""This function calls nosetests"""
local('nosetests --with-django', capture=False)
def spec():
"""This function runs harvest"""
local('python manage.py harvest', capture=False)
def pack():
"""This function packs the project"""
local('tar czf /tmp/project_to_deploy.tar.gz .', capture=False)
def prepare_deploy():
test()
spec()
pack()