Skip to content

Commit

Permalink
Make Thor exit with nonzero status code on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sikachu committed Sep 19, 2013
1 parent 3ee56a5 commit a160202
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/appraisal/cli.rb
Expand Up @@ -4,6 +4,10 @@ module Appraisal
class CLI < Thor
default_task :install

def self.exit_on_failure?
true
end

desc '[install]', 'Resolve and install dependencies for each appraisal'
def install
generate
Expand Down

0 comments on commit a160202

Please sign in to comment.