c License or the Artistic License for more details.
#
# ABSTRACT: Check the prereqs from our META.json
#---------------------------------------------------------------------
use 5.008;
our $VERSION =
ncluded a META.json:
sub prune_files
{
my $self = shift;
my $files = $self->zilla->files;
unless (grep { $_->name eq 'META.json' } @$files) {
$self->log("WARNING: META.json not found, rem
ereqs.t");
@$files = grep { $_->name ne 't/00-all_prereqs.t' } @$files;
} # end unless META.json
return;
} # end prune_files
#----------------------------------------------------------------
self) = @_;
my $files = $self->zilla->files;
@$files = grep { not($_->name =~ /^META\.(?:yml|json)$/ and
$_->isa('Dist::Zilla::File::OnDisk')) } @$files;
return;
} # end
self) = @_;
my $files = $self->zilla->files;
@$files = grep { not($_->name =~ /^META\.(?:yml|json)$/ and
$_->isa('Dist::Zilla::File::OnDisk')) } @$files;
return;
} # end
s plugin).
=item C<%meta>
The hash of metadata (in META 2 format) that will be stored in F<META.json>.
=item C<$perl_prereq>
The minimum version of Perl required (from the prerequisites in the met