Dist-Zilla-PluginBundle-DOY
view release on metacpan or search on metacpan
lib/Dist/Zilla/PluginBundle/DOY.pm view on Meta::CPAN
return \%opts;
},
);
around BUILDARGS => sub {
my $orig = shift;
my $class = shift;
my $args = $class->$orig(@_);
return { %{ $args->{payload} }, %{ $args } };
};
sub configure {
my $self = shift;
$self->add_plugins(
[ 'Prereqs' => 'TestMoreDoneTesting' => {
-phase => 'test',
-type => 'requires',
'Test::More' => '0.88',
} ]
) if $self->done_testing;
$self->add_plugins(
map { [ $_ => ($self->plugin_options->{$_} || {}) ] }
@{ $self->_plugins },
);
}
__PACKAGE__->meta->make_immutable;
no Moose;
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Dist::Zilla::PluginBundle::DOY - Dist::Zilla plugins for me
=head1 VERSION
version 0.15
=head1 SYNOPSIS
# dist.ini
[@DOY]
dist = Dist-Zilla-PluginBundle-DOY
repository = github
=head1 DESCRIPTION
My plugin bundle. Roughly equivalent to:
[Prereqs / TestMoreDoneTesting]
-phase = test
-type = requires
Test::More = 0.88
[GatherDir]
[PruneCruft]
[ManifestSkip]
[MetaYAML]
[License]
[Readme]
[RunExtraTests]
[ExecDir]
[ShareDir]
[MakeMaker]
[Manifest]
[TestRelease]
[ConfirmRelease]
[MetaConfig]
[MetaJSON]
[NextRelease]
format = %-5v %{yyyy-MM-dd}d
[CheckChangesHasContent]
[PkgVersion]
[Authority]
authority = cpan:DOY
[PodCoverageTests]
[PodSyntaxTests]
[Test::NoTabs]
[EOLTests]
[Test::Compile]
[MetaResources]
; autoconfigured, based on the value of 'repository'
[Git::Check]
allow_dirty =
[Git::Commit]
commit_msg = changelog
[Git::Tag]
tag_format = %v
tag_message =
[Git::NextVersion]
version_regexp = ^(\d+\.\d+)$
first_version = 0.01
[PodWeaver]
[UploadToCPAN]
[ContributorsFromGit]
[MetaProvides::Package]
=head1 BUGS
No known bugs.
Please report any bugs to GitHub Issues at
( run in 0.674 second using v1.01-cache-2.11-cpan-39bf76dae61 )