Skip to content

Commit

Permalink
abort if exit status is not success
Browse files Browse the repository at this point in the history
  • Loading branch information
banyan committed Feb 12, 2013
1 parent 9e61ec7 commit 416ff0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -51,6 +51,7 @@ task :all_sorcery_specs do
Dir['spec/**/Rakefile'].each do |rakefile| Dir['spec/**/Rakefile'].each do |rakefile|
directory_name = File.dirname(rakefile) directory_name = File.dirname(rakefile)
system(env, "cd #{directory_name} && bundle && bundle exec rake") system(env, "cd #{directory_name} && bundle && bundle exec rake")
abort unless $?.success?
end end
end end


Expand Down

0 comments on commit 416ff0c

Please sign in to comment.