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
1 changed files with 4 additions and 4 deletions

View File

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