1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
project_path = '/usr/share/compass/frameworks/toolkit'
stylesheets_path = File.join(project_path, 'stylesheets')
if (defined? Compass)
Compass::Frameworks.register(
'normalize-scss',
:path => project_path,
:stylesheets_directory => stylesheets_path
)
else
# Compass not defined, register the Sass path via an environment variable.
if ENV.has_key?('SASS_PATH')
ENV['SASS_PATH'] = ENV['SASS_PATH'] + File::PATH_SEPARATOR + stylesheets_path
else
ENV['SASS_PATH'] = stylesheets_path
end
end
|