Stephen Touset wrote:
> It would be a lot more useful, I think, if rake detected a SystemExit
> and then exited with the status in the exception, rather than just doing
> an exit(1).
> 
> Specifically, I'm doing an early exit in one of my rake tasks where I
> need to return a 0 exit code. Rake intercepts this SystemExit and always
> returns a 1, regardless of the status.
> 
> The patch for this is trivial, and included.

<snip>

Seems reasonable to me.

Regards,

Dan
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to