lib/spiderfw/templates/resources/sass.rb in spiderfw-0.6.26 vs lib/spiderfw/templates/resources/sass.rb in spiderfw-0.6.27
- old
+ new
@@ -88,11 +88,10 @@
}
config = Compass::Configuration::Data.new(:spider, options)
Compass.add_project_configuration(config)
compiler = Compass::Compiler.new(work_dir, File.dirname(src), File.dirname(dest), options)
-
- compiler.compile(src, dest) if compiler.out_of_date?
+ compiler.run
else
engine = Sass::Engine.for_file(src, {})
output = engine.render
File.open(dest, 'w') do |f|
f.write "/* This file is autogenerated; do not edit directly (edit #{src} instead) */\n\n"
\ No newline at end of file