Centralize all the framework specific code into the frameworks directory.

This commit is contained in:
Chris Eppstein 2009-01-25 15:05:36 -08:00
parent 1e5502159b
commit f316dd013e
4 changed files with 5 additions and 3 deletions

View File

@ -22,6 +22,8 @@ module Compass
end end
end end
require File.join(File.dirname(__FILE__), 'frameworks', 'compass') # Import all of the default frameworks.
require File.join(File.dirname(__FILE__), 'frameworks', 'blueprint') default_frameworks_directory = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'frameworks'))
require File.join(File.dirname(__FILE__), 'frameworks', 'yui') Dir.glob(File.join(default_frameworks_directory, "*.rb")).each do |framework|
require framework
end