CPAN-Maker
view release on metacpan or search on metacpan
lib/CPAN/Maker.pm view on Meta::CPAN
}
if ( $dependencies->{'core-modules'} eq 'yes' ) {
$self->set_core_modules($TRUE);
}
# NOTE: required-modules and resolver have no corresponding
# CLI::Simple accessor (not in option_specs, no extra_options
# declared) -- there is currently nowhere valid to apply these
# buildspec.yml values. Preserved here as parsed/validated but
# intentionally not applied; flagging rather than guessing at
# attribute names that don't exist.
my $required_modules_requested = $dependencies->{'required-modules'} eq 'no';
my $resolver = $dependencies->{resolver};
if ( $self->get_requires && $resolver ) {
croak "use either path or resolver for dependencies, but not both\n";
}
}
return;
lib/CPAN/Maker.pm view on Meta::CPAN
$self->set_author($author);
}
if ( my $description = $project->{description} ) {
$self->set_abstract($description);
}
# NOTE: 'git' has no corresponding CLI::Simple accessor (not in
# option_specs, no extra_options declared) -- there is currently
# nowhere valid to apply this buildspec.yml value. Left unapplied
# rather than guessing at an attribute name that doesn't exist.
return;
}
########################################################################
sub parse_pm_module {
########################################################################
my ( $self, $pm_module ) = @_;
return
lib/CPAN/Maker/Role/FileUtils.pm view on Meta::CPAN
die "ERROR: use only yes or no for 'recurse' option\n";
}
if ( $path->{'pm-module'} ) {
$self->set_module_path( $path->{'pm-module'} );
}
# NOTE: 'exclude-files' has no corresponding CLI::Simple accessor
# (not in option_specs, no extra_options declared) -- there is
# currently nowhere valid to apply this buildspec.yml value. Left
# unapplied rather than guessing at an attribute name that
# doesn't exist.
if ( $path->{'exe-files'} ) {
if ( $self->check_path( $project_root, $path->{'exe-files'}, 'exe-files' ) ) {
$self->set_exec_path( $path->{'exe-files'} );
}
}
if ( $path->{scripts} ) {
if ( $self->check_path( $project_root, $path->{scripts}, 'scripts' ) ) {
( run in 0.729 second using v1.01-cache-2.11-cpan-364913b4093 )