Example #1
0
def compile_prod_css():
    log.warning('Calling killall,  all process will be killed!')
    killall()
    
    with  shell_env(APP_ENV=PROD_ENV):
        with cd("/var/www"):
            settings = parse_vars(run("./manage.py settings_vars STATIC_URL"))
            if 'STATIC_URL' not in settings:
                log.error('STATIC_URL lookup failed!!!')
                abort("STATIC_URL lookup failed!!!") 
        
    with shell_env(APP_ENV=PROD_ENV, STATIC_URL=settings['STATIC_URL']):
        css_compile()
    
    log.warning('Note killall was called so vagrant server/compass will be down')
Example #2
0
def compile_env_css(env=None, asset_version='', haus_vars={}):
    log.warning(red('Calling killall,  all process will be killed!'))
    killall()
    css_compile()
    log.warning(red('Note killall was called so vagrant server/compass will be down'))
Example #3
0
def compile_env_css():
    log.warning(red('Calling killall,  all process will be killed!'))
    killall()
    css_compile()
    log.warning(red('Note killall was called so vagrant server/compass will be down'))