On Mon, Jul 14, 2008 at 11:19 PM, Ittay Dror (Freiman) <[EMAIL PROTECTED]> wrote:
> 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? If the task fails, raise an exception. That will just bubble up and get Rake to dump the exception and stop executing. -- Assaf http://labnotes.org > > > Thank you, > Ittay > _______________________________________________ > Rake-devel mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rake-devel >
_______________________________________________ Rake-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/rake-devel
