Sha256: f8a0f4cb405d499ee44eef59f91f3f03bac30abb103987692eec330e46c921b5

Contents?: true

Size: 948 Bytes

Versions: 6

Compression:

Stored size: 948 Bytes

Contents

module Compass
end

%w(dependencies util browser_support sass_extensions version errors quick_cache logger actions).each do |lib|
  require "compass/#{lib}"
end

require 'sass/callbacks'

module Compass
  def base_directory
    File.expand_path(File.join(File.dirname(__FILE__), '..'))
  end
  def lib_directory
    File.expand_path(File.join(File.dirname(__FILE__)))
  end
  def shared_extension_paths
    @shared_extension_paths ||= begin
      if ENV["HOME"] && File.directory?(ENV["HOME"])
        [File.join(ENV["HOME"], ".compass", "extensions")]
      else
        []
      end
    rescue ArgumentError # If HOME is relative
      []
    end
  end
  module_function :base_directory, :lib_directory, :shared_extension_paths
  extend QuickCache
end

%w(watcher configuration frameworks app_integration compiler caniuse).each do |lib|
  require "compass/#{lib}"
end

# for rails upgrade warnings in 0.12
require 'compass/app_integration/rails'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
compass-0.13.alpha.10 lib/compass.rb
compass-0.13.alpha.9 lib/compass.rb
compass-0.13.alpha.8 lib/compass.rb
compass-0.13.alpha.7 lib/compass.rb
compass-0.13.alpha.6 lib/compass.rb
compass-0.13.alpha.5 lib/compass.rb