Forum: Ruby Rakefile question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5c4533f23a9d7d67ffe1ea5539b4130b?d=identicon&s=25 Magicloud Magiclouds (Guest)
on 2007-06-13 06:46
(Received via mailing list)
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.
D66d5955228e3efaa7a9122c69b3592f?d=identicon&s=25 Nando Sanchez (nando)
on 2007-06-13 16:19
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 topic is locked and can not be replied to.