Commit 61795833 by Wictor Committed by Ree

Let pipe lessc output to outfile rather than providing outfile arg due to lessc bug

Makes it work with bootstrap 3. See http://stackoverflow.com/questions/28475730/compiling-bootstrap-less-shows-errors-warnings
parent 715e8ca1
......@@ -13,7 +13,8 @@ class LessCompiler(SubProcessCompiler):
return filename.endswith('.less')
def compile_file(self, infile, outfile, outdated=False, force=False):
command = "%s %s %s %s" % (
# Pipe to file rather than provide outfile arg due to a bug in lessc
command = "%s %s %s > %s" % (
settings.PIPELINE_LESS_BINARY,
settings.PIPELINE_LESS_ARGUMENTS,
infile,
......
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