[Rake-devel] [NEWBIE] task prerequisits and failures

Ittay Dror (Freiman) ittay.dror at gmail.com
Tue Jul 15 02:19:46 EDT 2008


Hello,

I hope this is the proper place to ask newbie questions, if not,
please direct me.

I'm looking at the source of rake.rb and it looks like rake doesn't
pay attention to whether prerequisites were executed ok before
executing the task itself (in invoke_with_callchain: 'execute' just
follows 'invoke_prerequisites' and both don't seem to raise any
exceptions).

How can I stop invocation of dependent tasks? By raising an exception
from the prerequisite action?

Thank you,
Ittay


More information about the Rake-devel mailing list