master
Nick Sergeant 2011-10-23 23:19:18 -04:00
parent 02a16267cc
commit 85111da250
1 changed files with 2 additions and 0 deletions

2
snipt/fabfile.py vendored
View File

@ -6,6 +6,8 @@ def staticfiles():
BASE_PATH = os.path.dirname(__file__)
local('lessc %s/media/css/style.less %s/media/css/style.css' % (BASE_PATH, BASE_PATH))
local('coffee -c %s/media/js/script.coffee' % BASE_PATH)
local('hg commit -m "Autocommit by [fab staticfiles]"')
local('hg push')
local('%s/manage.py collectstatic' % BASE_PATH)
def deployall():