Permalink
Browse files

abort if exit status is not success

  • Loading branch information...
1 parent 9e61ec7 commit 416ff0cb4cf40f338c0ff774f2b8fc6c540a48d7 @banyan banyan committed Feb 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 Rakefile
View
@@ -51,6 +51,7 @@ task :all_sorcery_specs do
Dir['spec/**/Rakefile'].each do |rakefile|
directory_name = File.dirname(rakefile)
system(env, "cd #{directory_name} && bundle && bundle exec rake")
+ abort unless $?.success?
end
end

0 comments on commit 416ff0c

Please sign in to comment.