From 82c0206ca6a1fe198bba97b58fdaa7b2b51fb656 Mon Sep 17 00:00:00 2001 From: Omar Al-Ithawi <i@omardo.com> Date: Tue, 15 Sep 2015 15:55:51 +0300 Subject: [PATCH] Added messages after assets process steps --- pavelib/assets.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pavelib/assets.py b/pavelib/assets.py index fd9f188d29f..3089cd786b2 100644 --- a/pavelib/assets.py +++ b/pavelib/assets.py @@ -187,6 +187,8 @@ def compile_sass(options): sh(cmd(*parts)) + print("\t\tFinished compiling sass.") + def compile_templated_sass(systems, settings): """ @@ -196,6 +198,7 @@ def compile_templated_sass(systems, settings): """ for sys in systems: sh(django_cmd(sys, settings, 'preprocess_assets')) + print("\t\tFinished preprocessing {} assets.".format(sys)) def process_xmodule_assets(): @@ -203,6 +206,7 @@ def process_xmodule_assets(): Process XModule static assets. """ sh('xmodule_assets common/static/xmodule') + print("\t\tFinished processing xmodule assets.") def restart_django_servers(): @@ -216,6 +220,7 @@ def restart_django_servers(): "touch", 'lms/urls.py', 'cms/urls.py', )) + def collect_assets(systems, settings): """ Collect static assets, including Django pipeline processing. @@ -224,6 +229,7 @@ def collect_assets(systems, settings): """ for sys in systems: sh(django_cmd(sys, settings, "collectstatic --noinput > /dev/null")) + print("\t\tFinished collecting {} assets.".format(sys)) @task -- GitLab