Adds working stylus call as an alternative to the precompilers.

This commit is contained in:
Norman Rosner
2012-12-05 21:09:22 +01:00
parent ef898f2597
commit 6727e57cbe
2 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ class CompressorConf(AppConf):
# ('text/coffeescript', 'coffee --compile --stdio'),
# ('text/less', 'lessc {infile} {outfile}'),
# ('text/x-sass', 'sass {infile} {outfile}'),
# ('text/stylus', 'stylus < {infile} > {outfile}'),
# ('text/x-scss', 'sass --scss {infile} {outfile}'),
)
CLOSURE_COMPILER_BINARY = 'java -jar compiler.jar'

View File

@@ -226,6 +226,7 @@ Backend settings
('text/less', 'lessc {infile} {outfile}'),
('text/x-sass', 'sass {infile} {outfile}'),
('text/x-scss', 'sass --scss {infile} {outfile}'),
('text/stylus', 'stylus < {infile} > {outfile}'),
('text/foobar', 'path.to.MyPrecompilerFilter'),
)