When I use the following in my Rakefile it runs all the tasks listed:
if !ENV["APPRAISAL_INITIALIZED"]
task default: %i[rubocop bundle:audit appraisal]
else
task default: %i[spec]
end
When I change the order of default dependencies to run appraisal first it runs the suites through Appraisal (successfully) and then exits without running bundle:audit or rubocop tasks.
if !ENV["APPRAISAL_INITIALIZED"]
task default: %i[appraisal rubocop bundle:audit]
else
task default: %i[spec]
end
I presume this has something to do with an exit code for the appraisal task but the actual value of $? in the shell in both cases is 0, so I'm not sure where to look.
When I use the following in my
Rakefileit runs all the tasks listed:When I change the order of default dependencies to run
appraisalfirst it runs the suites through Appraisal (successfully) and then exits without runningbundle:auditorrubocoptasks.I presume this has something to do with an exit code for the
appraisaltask but the actual value of$?in the shell in both cases is 0, so I'm not sure where to look.