Centralize all the framework specific code into the frameworks directory.
This commit is contained in:
parent
1e5502159b
commit
f316dd013e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user