| 1 | package Dist::Zilla::PluginBundle::ANELSON; | ||
| 2 | { | ||
| 3 | 1 | $Dist::Zilla::PluginBundle::ANELSON::VERSION = '0.01'; | |
| 4 | } | ||
| 5 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | with 'Dist::Zilla::Role::PluginBundle::Easy'; | |
| 8 | |||
| 9 | # ABSTRACT: Dist::Zilla plugins for anelson | ||
| 10 | |||
| 11 | |||
| 12 | 0 | ▶ | sub configure { |
|
Subroutine
configure: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 13 | 0 | my ($self) = @_; | |
| 14 | |||
| 15 | 0 | $self->add_bundle('@Basic'); | |
| 16 | |||
| 17 | 0 | $self->add_plugins([ | |
| 18 | 'Git::NextVersion' => { | ||
| 19 | first_version => '0.01', | ||
| 20 | version_regexp => '^(\d+\.\d+)$' | ||
| 21 | } | ||
| 22 | ]); | ||
| 23 | |||
| 24 | 0 | $self->add_plugins(qw( | |
| 25 | ReadmeMarkdownFromPod | ||
| 26 | PkgVersion | ||
| 27 | AutoPrereqs | ||
| 28 | )); | ||
| 29 | |||
| 30 | 0 | $self->add_plugins([ | |
| 31 | 'NextRelease' => { | ||
| 32 | format => '%v %{MMM d yyyy}d' | ||
| 33 | } | ||
| 34 | ]); | ||
| 35 | |||
| 36 | 0 | $self->add_plugins(qw( | |
| 37 | SynopsisTests | ||
| 38 | PodSyntaxTests | ||
| 39 | MetaJSON | ||
| 40 | )); | ||
| 41 | |||
| 42 | 0 | $self->add_plugins([ | |
| 43 | 'GithubMeta' => { | ||
| 44 | issues => 1 | ||
| 45 | } | ||
| 46 | ]); | ||
| 47 | |||
| 48 | 0 | $self->add_plugins([ | |
| 49 | 'CopyFilesFromBuild' => { | ||
| 50 | copy => 'README.mkdn' | ||
| 51 | } | ||
| 52 | ]); | ||
| 53 | |||
| 54 | 0 | $self->add_plugins([ | |
| 55 | 'PruneFiles' => { | ||
| 56 | filenames => [ qw(dist.ini weaver.ini) ] | ||
| 57 | } | ||
| 58 | ]); | ||
| 59 | |||
| 60 | 0 | $self->add_plugins(qw(Git::Commit)); | |
| 61 | |||
| 62 | 0 | $self->add_plugins([ | |
| 63 | 'Git::Tag' => { | ||
| 64 | tag_format => '%v' | ||
| 65 | } | ||
| 66 | ]); | ||
| 67 | |||
| 68 | 0 | $self->add_plugins(qw(PodWeaver)); | |
| 69 | } | ||
| 70 | |||
| 71 | 1 | __PACKAGE__->meta->make_immutable; | |
| 72 | 1 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 73 | |||
| 74 | 1 | 1; | |
| 75 | |||
| 76 | __END__ | ||