Commit 394f5941 by Timothée Peignier

help stylus compiler to be a bit faster

parent c4307c99
...@@ -13,10 +13,9 @@ class StylusCompiler(SubProcessCompiler): ...@@ -13,10 +13,9 @@ class StylusCompiler(SubProcessCompiler):
return filename.endswith('.styl') return filename.endswith('.styl')
def compile_file(self, infile, outfile, outdated=False, force=False): def compile_file(self, infile, outfile, outdated=False, force=False):
command = "%s %s < %s > %s" % ( command = "%s %s %s" % (
settings.PIPELINE_STYLUS_BINARY, settings.PIPELINE_STYLUS_BINARY,
settings.PIPELINE_STYLUS_ARGUMENTS, settings.PIPELINE_STYLUS_ARGUMENTS,
infile, infile
outfile
) )
return self.execute_command(command, cwd=dirname(infile)) return self.execute_command(command, cwd=dirname(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