Permalink
Browse files

Fail build if jekyll site generation fails

  • Loading branch information...
1 parent 8e1f60c commit f012220469d99e12d8ad3f77df977c759a9c3f20 @burkemw3 burkemw3 committed Feb 19, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/language_pack/ruby.rb
View
3 lib/language_pack/ruby.rb
@@ -436,5 +436,8 @@ def run_assets_precompile_rake_task
def generate_jekyll_site
puts "Building jekyll site"
run("env PATH=$PATH bundle exec jekyll")
+ unless $? == 0
+ error "Failed to generate site with jekyll."
+ end
end
end

0 comments on commit f012220

Please sign in to comment.