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:
parent
2104655a67
commit
3f9f8bbee4
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -55,7 +55,7 @@ task :test do
|
||||||
Dir['spec/**/*_spec.rb']
|
Dir['spec/**/*_spec.rb']
|
||||||
end
|
end
|
||||||
all_specs.shuffle! if all_specs.respond_to? :shuffle!
|
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
|
end
|
||||||
task :spec => :test
|
task :spec => :test
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue