Merge pull request #342 from rosner/develop

Adds working stylus call as an alternative to the precompilers.
This commit is contained in:
Jannis Leidel
2012-12-05 12:39:45 -08:00
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'),
)