diff --git a/lib/compass/frameworks/blueprint.rb b/frameworks/blueprint.rb similarity index 100% rename from lib/compass/frameworks/blueprint.rb rename to frameworks/blueprint.rb diff --git a/lib/compass/frameworks/compass.rb b/frameworks/compass.rb similarity index 100% rename from lib/compass/frameworks/compass.rb rename to frameworks/compass.rb diff --git a/lib/compass/frameworks/yui.rb b/frameworks/yui.rb similarity index 100% rename from lib/compass/frameworks/yui.rb rename to frameworks/yui.rb diff --git a/lib/compass/frameworks.rb b/lib/compass/frameworks.rb index 38d1df1b..e74c4529 100644 --- a/lib/compass/frameworks.rb +++ b/lib/compass/frameworks.rb @@ -22,6 +22,8 @@ module Compass end end -require File.join(File.dirname(__FILE__), 'frameworks', 'compass') -require File.join(File.dirname(__FILE__), 'frameworks', 'blueprint') -require File.join(File.dirname(__FILE__), 'frameworks', 'yui') +# Import all of the default frameworks. +default_frameworks_directory = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'frameworks')) +Dir.glob(File.join(default_frameworks_directory, "*.rb")).each do |framework| + require framework +end