File Coverage

blib/lib/Dist/Zilla/PluginBundle/Basic.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 15 16 93.7


line stmt bran cond sub pod time code
1             # ABSTRACT: the basic plugins to maintain and release CPAN dists
2              
3             use Moose;
4 2     2   2026 with 'Dist::Zilla::Role::PluginBundle::Easy';
  2         6  
  2         17  
5              
6             use Dist::Zilla::Pragmas;
7 2     2   14377  
  2         6  
  2         19  
8             use namespace::autoclean;
9 2     2   18  
  2         7  
  2         16  
10             my ($self) = @_;
11              
12 1     1 0 4 $self->add_plugins(qw(
13             GatherDir
14 1         16 PruneCruft
15             ManifestSkip
16             MetaYAML
17             License
18             Readme
19             ExtraTests
20             ExecDir
21             ShareDir
22              
23             MakeMaker
24             Manifest
25              
26             TestRelease
27             ConfirmRelease
28             UploadToCPAN
29             ));
30             }
31              
32             __PACKAGE__->meta->make_immutable;
33             1;
34              
35             #pod =head1 DESCRIPTION
36             #pod
37             #pod This plugin is meant to be a basic "first step" bundle for using Dist::Zilla.
38             #pod It won't munge any of your code, but will generate a F<Makefile.PL> and allows
39             #pod easy, reliable releasing of distributions.
40             #pod
41             #pod It includes the following plugins with their default configuration:
42             #pod
43             #pod =for :list
44             #pod * L<Dist::Zilla::Plugin::GatherDir>
45             #pod * L<Dist::Zilla::Plugin::PruneCruft>
46             #pod * L<Dist::Zilla::Plugin::ManifestSkip>
47             #pod * L<Dist::Zilla::Plugin::MetaYAML>
48             #pod * L<Dist::Zilla::Plugin::License>
49             #pod * L<Dist::Zilla::Plugin::Readme>
50             #pod * L<Dist::Zilla::Plugin::ExtraTests>
51             #pod * L<Dist::Zilla::Plugin::ExecDir>
52             #pod * L<Dist::Zilla::Plugin::ShareDir>
53             #pod * L<Dist::Zilla::Plugin::MakeMaker>
54             #pod * L<Dist::Zilla::Plugin::Manifest>
55             #pod * L<Dist::Zilla::Plugin::TestRelease>
56             #pod * L<Dist::Zilla::Plugin::ConfirmRelease>
57             #pod * L<Dist::Zilla::Plugin::UploadToCPAN>
58             #pod
59             #pod =head1 SEE ALSO
60             #pod
61             #pod Core Dist::Zilla plugins: L<@Filter|Dist::Zilla::PluginBundle::Filter>.
62             #pod
63             #pod Dist::Zilla roles:
64             #pod L<PluginBundle|Dist::Zilla::Role::PluginBundle>,
65             #pod L<PluginBundle::Easy|Dist::Zilla::Role::PluginBundle::Easy>.
66             #pod
67             #pod =cut
68              
69              
70             =pod
71              
72             =encoding UTF-8
73              
74             =head1 NAME
75              
76             Dist::Zilla::PluginBundle::Basic - the basic plugins to maintain and release CPAN dists
77              
78             =head1 VERSION
79              
80             version 6.028
81              
82             =head1 DESCRIPTION
83              
84             This plugin is meant to be a basic "first step" bundle for using Dist::Zilla.
85             It won't munge any of your code, but will generate a F<Makefile.PL> and allows
86             easy, reliable releasing of distributions.
87              
88             It includes the following plugins with their default configuration:
89              
90             =over 4
91              
92             =item *
93              
94             L<Dist::Zilla::Plugin::GatherDir>
95              
96             =item *
97              
98             L<Dist::Zilla::Plugin::PruneCruft>
99              
100             =item *
101              
102             L<Dist::Zilla::Plugin::ManifestSkip>
103              
104             =item *
105              
106             L<Dist::Zilla::Plugin::MetaYAML>
107              
108             =item *
109              
110             L<Dist::Zilla::Plugin::License>
111              
112             =item *
113              
114             L<Dist::Zilla::Plugin::Readme>
115              
116             =item *
117              
118             L<Dist::Zilla::Plugin::ExtraTests>
119              
120             =item *
121              
122             L<Dist::Zilla::Plugin::ExecDir>
123              
124             =item *
125              
126             L<Dist::Zilla::Plugin::ShareDir>
127              
128             =item *
129              
130             L<Dist::Zilla::Plugin::MakeMaker>
131              
132             =item *
133              
134             L<Dist::Zilla::Plugin::Manifest>
135              
136             =item *
137              
138             L<Dist::Zilla::Plugin::TestRelease>
139              
140             =item *
141              
142             L<Dist::Zilla::Plugin::ConfirmRelease>
143              
144             =item *
145              
146             L<Dist::Zilla::Plugin::UploadToCPAN>
147              
148             =back
149              
150             =head1 PERL VERSION
151              
152             This module should work on any version of perl still receiving updates from
153             the Perl 5 Porters. This means it should work on any version of perl released
154             in the last two to three years. (That is, if the most recently released
155             version is v5.40, then this module should work on both v5.40 and v5.38.)
156              
157             Although it may work on older versions of perl, no guarantee is made that the
158             minimum required version will not be increased. The version may be increased
159             for any reason, and there is no promise that patches will be accepted to lower
160             the minimum required perl.
161              
162             =head1 SEE ALSO
163              
164             Core Dist::Zilla plugins: L<@Filter|Dist::Zilla::PluginBundle::Filter>.
165              
166             Dist::Zilla roles:
167             L<PluginBundle|Dist::Zilla::Role::PluginBundle>,
168             L<PluginBundle::Easy|Dist::Zilla::Role::PluginBundle::Easy>.
169              
170             =head1 AUTHOR
171              
172             Ricardo SIGNES 😏 <cpan@semiotic.systems>
173              
174             =head1 COPYRIGHT AND LICENSE
175              
176             This software is copyright (c) 2022 by Ricardo SIGNES.
177              
178             This is free software; you can redistribute it and/or modify it under
179             the same terms as the Perl 5 programming language system itself.
180              
181             =cut