1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Use exec to run tests to preserve exit code

This commit is contained in:
Conrad Irwin 2012-12-09 18:33:14 -08:00
parent 2104655a67
commit 3f9f8bbee4

View file

@ -55,7 +55,7 @@ task :test do
Dir['spec/**/*_spec.rb']
end
all_specs.shuffle! if all_specs.respond_to? :shuffle!
system "bacon -Ispec -rubygems -q #{all_specs.join ' '}"
exec "bacon -Ispec -rubygems -q #{all_specs.join ' '}"
end
task :spec => :test