On Sat, 2007-12-01 at 06:51 -0800, Bill Moseley wrote:
> Any ideas on how to add a "make test-exclude-recommends" to Makefile.PL to
> make that easier?

Add something like this to Makefile.PL

  my @RECOMMENDS = qw/.../
  requires $_ for @RECOMMENDS; # or whatever

  sub MY::postamble {
    my $optional = join ',', @RECOMMENDS;
    return <<"EOM";

test-exclude-recommends:
\tperl -MDevel::Hide=-from:children,$optional 'exec("make test")'
EOM

  }

Untested.

Regards,
Jonathan Rockway

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to