Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.794 kB
unless File.exists?('vendor/plugins/haml')
log "info", "Compass requires Haml module; will install it now"
templ = "#{@base_path}/haml.rb"
log "applying", templ
load_template(templ)
log "applied", templ
end
gem 'chriseppstein-compass', :lib => 'compass', :version => '>= 0.3.4'
framework = (ENV['COMPASS_FRAMEWORK'] || ask('which framework you want to use? [blueprint | yui] (defaults to blueprint)'))
framework = "blueprint" if framework.nil? || framework.empty?
run "echo -e 'y\ny\n' | compass --rails -f #{framework} ."
compiled_dir = File.join %w(public stylesheets compiled)
if File.exists? compiled_dir
File.open(".gitignore", "a") do |f|
f << compiled_dir << "\n"
end
end
git :add => "."
git :commit => "-a -m 'Added compass for css using #{framework} framework'"
Jump to Line
Something went wrong with that request. Please try again.