[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rakefile question

Magicloud Magiclouds

6/13/2007 4:46:00 AM

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.

1 Answer

Nando Sanchez

6/13/2007 2:19:00 PM

0

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

--
Posted via http://www.ruby-....