Rakefile question

Dear all,
Usually, I do dependent task like: task :son => [:father] do; end. Now
I have a task, which depends on task A or task B (either is done is ok).
How to do this?

Thanks.

Hi! I’m not a ruby/rake expert, but may be you could get this done by
having 2 different tasks that call the same ruby code, and one child
task depends on one of the “parent” tasks and the other child task one
depends on the other “parent” task. Just my $0.02…

Nando

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs