Commit e947a929 by Christine Lytwynec

Merge pull request #8622 from edx/clytwynec/quiet_sass_compile_warnings

pass debug option through to compile_sass
parents da16f444 16745cde
......@@ -132,10 +132,12 @@ def compile_coffeescript(*files):
@task
@no_help
def compile_sass(debug=False):
@cmdopts([('debug', 'd', 'Debug mode')])
def compile_sass(options):
"""
Compile Sass to CSS.
"""
debug = options.get('debug')
parts = ["sass"]
parts.append("--update")
parts.append("--cache-location {cache}".format(cache=SASS_CACHE_PATH))
......@@ -244,7 +246,7 @@ def update_assets(args):
compile_templated_sass(args.system, args.settings)
process_xmodule_assets()
compile_coffeescript()
compile_sass(args.debug)
call_task('compile_sass', options={'debug': args.debug})
if args.collect:
collect_assets(args.system, args.settings)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment