Autocommit by [fab staticfiles]
parent
85111da250
commit
3d5853f9f9
|
@ -6,8 +6,11 @@ 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')
|
||||
try:
|
||||
local('hg commit -m "Autocommit by [fab staticfiles]"')
|
||||
local('hg push')
|
||||
except:
|
||||
pass
|
||||
local('%s/manage.py collectstatic' % BASE_PATH)
|
||||
|
||||
def deployall():
|
||||
|
|
Loading…
Reference in New Issue