Commit 7bc6dc34 by Timothée Peignier

don't hardcode sass options. close #238

parent 2dc36d81
......@@ -112,7 +112,7 @@ To use it add this to your ``PIPELINE_COMPILERS`` ::
Additional arguments to use when sass is called.
Defaults to ``''``.
Defaults to ``'--update'``.
Stylus compiler
......
......@@ -13,7 +13,7 @@ class SASSCompiler(SubProcessCompiler):
return filename.endswith(('.scss', '.sass'))
def compile_file(self, infile, outfile, outdated=False, force=False):
command = "%s %s --update %s:%s" % (
command = "%s %s %s:%s" % (
settings.PIPELINE_SASS_BINARY,
settings.PIPELINE_SASS_ARGUMENTS,
infile,
......
......@@ -54,7 +54,7 @@ PIPELINE_LIVE_SCRIPT_BINARY = getattr(settings, 'PIPELINE_LIVE_SCRIPT_BINARY', '
PIPELINE_LIVE_SCRIPT_ARGUMENTS = getattr(settings, 'PIPELINE_LIVE_SCRIPT_ARGUMENTS', '')
PIPELINE_SASS_BINARY = getattr(settings, 'PIPELINE_SASS_BINARY', '/usr/bin/env sass')
PIPELINE_SASS_ARGUMENTS = getattr(settings, 'PIPELINE_SASS_ARGUMENTS', '')
PIPELINE_SASS_ARGUMENTS = getattr(settings, 'PIPELINE_SASS_ARGUMENTS', '--update')
PIPELINE_STYLUS_BINARY = getattr(settings, 'PIPELINE_STYLUS_BINARY', '/usr/bin/env stylus')
PIPELINE_STYLUS_ARGUMENTS = getattr(settings, 'PIPELINE_STYLUS_ARGUMENTS', '')
......
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