diff --git a/lib/compass/installers/base.rb b/lib/compass/installers/base.rb index e27dc2d0..28a2435f 100644 --- a/lib/compass/installers/base.rb +++ b/lib/compass/installers/base.rb @@ -16,7 +16,7 @@ module Compass self.logger = options[:logger] end - [:css_dir, :sass_dir, :images_dir, :javascripts_dir, :http_stylesheets_path].each do |dir| + [:css_dir, :sass_dir, :images_dir, :javascripts_dir, :http_stylesheets_path, :fonts_dir].each do |dir| define_method dir do Compass.configuration.send(dir) end @@ -91,6 +91,10 @@ module Compass "#{javascripts_dir}/#{to}" end + installer :font do |to| + "#{fonts_dir}/#{to}" + end + installer :file do |to| "#{pattern_name_as_dir}#{to}" end diff --git a/lib/compass/installers/manifest.rb b/lib/compass/installers/manifest.rb index eb664a7d..4324be66 100644 --- a/lib/compass/installers/manifest.rb +++ b/lib/compass/installers/manifest.rb @@ -37,6 +37,7 @@ module Compass type :stylesheet type :image type :javascript + type :font type :file type :html