On Feb 11, 2008 9:05 PM, Matisse Enzer <[EMAIL PROTECTED]> wrote: > > Right -- you're not handing off all arguments to CPAN::Shell at once. > > However, I think he wanted CPAN.pm to halt if any *dependencies* > > failed as well as anything specified to the "cpan" script -- that > > requires a change to CPAN.pm, not just the queue in "cpan". > > Yes - that is the desired behavior (I'm working with Andrew on this > and asked him to post here.) > > We want the entire build to stop and fail if any of the dependencies > fail during testing or installation.
OK. It didn't look too hard, so I added a "halt_on_failure" config option to the CPAN.pm trunk: https://pause.perl.org:5460/svn/cpanpm/trunk I did some very quick, rudimentary testing and it seemed to work, but I encourage you to try it out and see if it serves your needs. It should work either from the CPAN shell or using the "cpan" script. If it seems to work, then it will be available whenever Andreas rolls out the next dev release. David