From 85111da250ea0ea5b8c86a7bd67b4c80c0de746c Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Sun, 23 Oct 2011 23:19:18 -0400 Subject: [PATCH] Fab --- snipt/fabfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snipt/fabfile.py b/snipt/fabfile.py index 25db406..929569f 100644 --- a/snipt/fabfile.py +++ b/snipt/fabfile.py @@ -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():