fix some bugs when building examples
This commit is contained in:
parent
16ca41bec6
commit
1818957131
1
Gemfile
1
Gemfile
@ -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"
|
||||
|
2
Rakefile
2
Rakefile
@ -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|
|
||||
|
Loading…
Reference in New Issue
Block a user