[Rake-devel] Parallel tasks with Rake

Jim Weirich jim.weirich at gmail.com
Thu Sep 11 01:57:24 EDT 2008


On Sep 11, 2008, at 12:55 AM, Ittay Dror wrote:

> For me it is more intuitive to expect a and b to execute in parallel  
> (unless one depends on the other)

If one depends on the other, there is no need to express both on the  
command line.  I often do things like:

    rake rdoc publish

to rebuild the rdoc html and then publish it to the web.   I've seen  
rails taks that do things like:

    rake test_env migrate

Where test_env sets up the environment for the following task.

This is why I think sequential is the proper choice.

-- 
-- Jim Weirich
-- jim.weirich at gmail.com



More information about the Rake-devel mailing list