2009-05-19 18:27:29 +00:00
|
|
|
module Compass
|
2009-01-25 19:28:11 +00:00
|
|
|
end
|
|
|
|
|
2011-03-21 16:21:36 +00:00
|
|
|
%w(dependencies util browser_support sass_extensions version errors quick_cache).each do |lib|
|
2009-09-03 02:47:01 +00:00
|
|
|
require "compass/#{lib}"
|
2008-08-23 17:00:46 +00:00
|
|
|
end
|
|
|
|
|
2011-02-17 07:30:11 +00:00
|
|
|
require 'sass/callbacks'
|
|
|
|
|
2008-08-23 17:00:46 +00:00
|
|
|
module Compass
|
|
|
|
def base_directory
|
|
|
|
File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
|
|
|
end
|
2009-02-01 22:17:07 +00:00
|
|
|
def lib_directory
|
|
|
|
File.expand_path(File.join(File.dirname(__FILE__)))
|
|
|
|
end
|
2011-03-21 16:29:43 +00:00
|
|
|
def shared_extension_paths
|
|
|
|
[File.expand_path("~/.compass/extensions")]
|
|
|
|
end
|
|
|
|
module_function :base_directory, :lib_directory, :shared_extension_paths
|
2010-11-29 22:33:57 +00:00
|
|
|
extend QuickCache
|
2008-08-23 17:00:46 +00:00
|
|
|
end
|
|
|
|
|
2011-03-23 05:29:51 +00:00
|
|
|
%w(configuration frameworks app_integration actions compiler).each do |lib|
|
2009-09-03 02:47:01 +00:00
|
|
|
require "compass/#{lib}"
|
|
|
|
end
|