fix some bugs when building examples

This commit is contained in:
Chris Eppstein 2010-12-19 18:02:49 -08:00
parent 16ca41bec6
commit 1818957131
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ gem "rails", "~>3.0.0.rc"
gem "compass-validator", "3.0.0"
gem "css_parser", "~> 1.0.1"
gem "sass"
gem "haml", "~> 3.1.alpha"
gem "rcov"
gem "rubyzip"
gem "livereload"

View File

@ -61,7 +61,7 @@ task :examples do
puts "=" * "Compiling #{example}".length
Dir.chdir example do
load "bootstrap.rb" if File.exists?("bootstrap.rb")
Compass::Exec::SwitchUI.new(["--force"]).run!
Compass::Exec::SubCommandUI.new(%w(compile --force)).run!
end
# compile any haml templates to html
FileList["#{example}/**/*.haml"].each do |haml_file|