File: compass-normalize.rb

package info (click to toggle)
compass-normalize-plugin 1.5~20140508-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 152 kB
  • ctags: 6
  • sloc: makefile: 30; ruby: 26
file content (13 lines) | stat: -rw-r--r-- 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
base_directory  = File.expand_path('/usr/share/compass/frameworks/compass-normalize')
stylesheets_path = File.join(base_directory, 'stylesheets')
templates_path = File.join(base_directory, 'templates')

if (defined? Compass)
	Compass::Frameworks.register(
		'compass-normalize',
		:stylesheets_directory => stylesheets_path,
		:templates_directory => templates_path
	)
else
	ENV["SASS_PATH"] = [ENV["SASS_PATH"], sass_path].compact.join(File::PATH_SEPARATOR)
end