A little less noise during installation.

This commit is contained in:
Chris Eppstein 2010-10-30 17:51:00 -07:00
parent 4ba6e57106
commit a154d2e5cf
3 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,7 @@ module Compass
def directory(dir, options = nil)
options ||= self.options if self.respond_to?(:options)
if File.exists?(dir) && File.directory?(dir)
logger.record :exists, basename(dir) unless options[:quiet]
# logger.record :exists, basename(dir) unless options[:quiet]
elsif File.exists?(dir)
msg = "#{basename(dir)} already exists and is not a directory."
raise Compass::FilesystemConflict.new(msg)

View File

@ -98,7 +98,6 @@ module Compass
# Compile one Sass file
def compile(sass_filename, css_filename)
logger.record :compile, basename(sass_filename) unless options[:quiet]
css_content = logger.red do
engine(sass_filename, css_filename).render
end

View File

@ -84,7 +84,7 @@ module Compass
to = targetize(install_location_for_stylesheet(to, options))
contents = File.new(from).read
if preferred_syntax.to_s != from[-4..-1]
logger.record :convert, basename(from)
# logger.record :convert, basename(from)
tree = Sass::Engine.new(contents, Compass.sass_engine_options.merge(:syntax => from[-4..-1].intern)).to_tree
contents = tree.send("to_#{preferred_syntax}")
to[-4..-1] = preferred_syntax.to_s