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:
parent
5fced0a6e7
commit
6d47528459
1 changed files with 4 additions and 4 deletions
8
Rakefile
8
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue