Ejemplo n.º 1
0
def build_site_skel():
    """First step of build, create the skeleton directory structure."""
    with lcd(paths.project_dir()):
        local('mkdir -p %s' % env['otto.build_dir'])
        local('cp -a example.com/ %s' % env['otto.build_dir'])
Ejemplo n.º 2
0
def clean():
    """make clean"""
    with lcd(paths.project_dir()):
        local('rm -rf build')
Ejemplo n.º 3
0
def pre_tests():
    """Run the automated test suite"""
    with lcd(paths.project_dir()):
        local('vagrant up') # server
        server_setup() # CM config base box