Skip to content

Commit

Permalink
abort rake task when system calls fail
Browse files Browse the repository at this point in the history
  • Loading branch information
skaes committed Jul 2, 2017
1 parent de82061 commit 208c260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ end

namespace :appraisal do
task :install do
system "appraisal install"
abort unless system("appraisal install")
end
task :test => :install do
system("appraisal rake test")
abort unless system("appraisal rake test")
end
end

0 comments on commit 208c260

Please sign in to comment.