1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Run all rake tasks with --trace

This commit is contained in:
Elliot Winkler 2015-12-13 19:44:29 -07:00
parent 5fced0a6e7
commit 6d47528459

View file

@ -22,14 +22,14 @@ end
task :default do task :default do
if Tests::CurrentBundle.instance.appraisal_in_use? if Tests::CurrentBundle.instance.appraisal_in_use?
sh 'rake spec:unit' sh 'rake spec:unit --trace'
sh 'rake spec:acceptance' sh 'rake spec:acceptance --trace'
else else
if ENV['CI'] if ENV['CI']
exec "appraisal install && appraisal rake" exec "appraisal install && appraisal rake --trace"
else else
appraisal = Tests::CurrentBundle.instance.latest_appraisal appraisal = Tests::CurrentBundle.instance.latest_appraisal
exec "appraisal install && appraisal #{appraisal} rake" exec "appraisal install && appraisal #{appraisal} rake --trace"
end end
end end
end end