File Coverage

blib/lib/Dist/Zilla/PluginBundle/Classic.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 classic (old) default configuration for Dist::Zilla
2              
3             use Moose;
4 9     9   108023 with 'Dist::Zilla::Role::PluginBundle::Easy';
  9         467218  
  9         74  
5              
6             use Dist::Zilla::Pragmas;
7 9     9   63673  
  9         28  
  9         81  
8             use namespace::autoclean;
9 9     9   563  
  9         8412  
  9         87  
10             my ($self) = @_;
11              
12 10     10 0 63 $self->add_plugins(qw(
13             GatherDir
14 10         65 PruneCruft
15             ManifestSkip
16             MetaYAML
17             License
18             Readme
19             PkgVersion
20             PodVersion
21             PodCoverageTests
22             PodSyntaxTests
23             ExtraTests
24             ExecDir
25             ShareDir
26              
27             MakeMaker
28             Manifest
29              
30             ConfirmRelease
31             UploadToCPAN
32             ));
33             }
34              
35             __PACKAGE__->meta->make_immutable;
36             1;
37              
38             #pod =head1 DESCRIPTION
39             #pod
40             #pod This bundle is more or less the original configuration bundled with
41             #pod Dist::Zilla. More than likely, you'd rather be using
42             #pod L<@Basic|Dist::Zilla::PluginBundle::Basic> or a more complex bundle. This one
43             #pod will muck around with your code by adding C<$VERSION> declarations and will
44             #pod mess with you Pod by adding a C<=head1 VERSION> section, but it won't get you a
45             #pod lot of more useful features like autoversioning, autoprereqs, or Pod::Weaver.
46             #pod
47             #pod It includes the following plugins with their default configuration:
48             #pod
49             #pod =for :list
50             #pod * L<Dist::Zilla::Plugin::GatherDir>
51             #pod * L<Dist::Zilla::Plugin::PruneCruft>
52             #pod * L<Dist::Zilla::Plugin::ManifestSkip>
53             #pod * L<Dist::Zilla::Plugin::MetaYAML>
54             #pod * L<Dist::Zilla::Plugin::License>
55             #pod * L<Dist::Zilla::Plugin::Readme>
56             #pod * L<Dist::Zilla::Plugin::PkgVersion>
57             #pod * L<Dist::Zilla::Plugin::PodVersion>
58             #pod * L<Dist::Zilla::Plugin::PodCoverageTests>
59             #pod * L<Dist::Zilla::Plugin::PodSyntaxTests>
60             #pod * L<Dist::Zilla::Plugin::ExtraTests>
61             #pod * L<Dist::Zilla::Plugin::ExecDir>
62             #pod * L<Dist::Zilla::Plugin::ShareDir>
63             #pod * L<Dist::Zilla::Plugin::MakeMaker>
64             #pod * L<Dist::Zilla::Plugin::Manifest>
65             #pod * L<Dist::Zilla::Plugin::ConfirmRelease>
66             #pod * L<Dist::Zilla::Plugin::UploadToCPAN>
67             #pod
68             #pod =head1 SEE ALSO
69             #pod
70             #pod L<@Basic|Dist::Zilla::PluginBundle::Basic>
71             #pod
72             #pod =cut
73              
74              
75             =pod
76              
77             =encoding UTF-8
78              
79             =head1 NAME
80              
81             Dist::Zilla::PluginBundle::Classic - the classic (old) default configuration for Dist::Zilla
82              
83             =head1 VERSION
84              
85             version 6.028
86              
87             =head1 DESCRIPTION
88              
89             This bundle is more or less the original configuration bundled with
90             Dist::Zilla. More than likely, you'd rather be using
91             L<@Basic|Dist::Zilla::PluginBundle::Basic> or a more complex bundle. This one
92             will muck around with your code by adding C<$VERSION> declarations and will
93             mess with you Pod by adding a C<=head1 VERSION> section, but it won't get you a
94             lot of more useful features like autoversioning, autoprereqs, or Pod::Weaver.
95              
96             It includes the following plugins with their default configuration:
97              
98             =over 4
99              
100             =item *
101              
102             L<Dist::Zilla::Plugin::GatherDir>
103              
104             =item *
105              
106             L<Dist::Zilla::Plugin::PruneCruft>
107              
108             =item *
109              
110             L<Dist::Zilla::Plugin::ManifestSkip>
111              
112             =item *
113              
114             L<Dist::Zilla::Plugin::MetaYAML>
115              
116             =item *
117              
118             L<Dist::Zilla::Plugin::License>
119              
120             =item *
121              
122             L<Dist::Zilla::Plugin::Readme>
123              
124             =item *
125              
126             L<Dist::Zilla::Plugin::PkgVersion>
127              
128             =item *
129              
130             L<Dist::Zilla::Plugin::PodVersion>
131              
132             =item *
133              
134             L<Dist::Zilla::Plugin::PodCoverageTests>
135              
136             =item *
137              
138             L<Dist::Zilla::Plugin::PodSyntaxTests>
139              
140             =item *
141              
142             L<Dist::Zilla::Plugin::ExtraTests>
143              
144             =item *
145              
146             L<Dist::Zilla::Plugin::ExecDir>
147              
148             =item *
149              
150             L<Dist::Zilla::Plugin::ShareDir>
151              
152             =item *
153              
154             L<Dist::Zilla::Plugin::MakeMaker>
155              
156             =item *
157              
158             L<Dist::Zilla::Plugin::Manifest>
159              
160             =item *
161              
162             L<Dist::Zilla::Plugin::ConfirmRelease>
163              
164             =item *
165              
166             L<Dist::Zilla::Plugin::UploadToCPAN>
167              
168             =back
169              
170             =head1 PERL VERSION
171              
172             This module should work on any version of perl still receiving updates from
173             the Perl 5 Porters. This means it should work on any version of perl released
174             in the last two to three years. (That is, if the most recently released
175             version is v5.40, then this module should work on both v5.40 and v5.38.)
176              
177             Although it may work on older versions of perl, no guarantee is made that the
178             minimum required version will not be increased. The version may be increased
179             for any reason, and there is no promise that patches will be accepted to lower
180             the minimum required perl.
181              
182             =head1 SEE ALSO
183              
184             L<@Basic|Dist::Zilla::PluginBundle::Basic>
185              
186             =head1 AUTHOR
187              
188             Ricardo SIGNES 😏 <cpan@semiotic.systems>
189              
190             =head1 COPYRIGHT AND LICENSE
191              
192             This software is copyright (c) 2022 by Ricardo SIGNES.
193              
194             This is free software; you can redistribute it and/or modify it under
195             the same terms as the Perl 5 programming language system itself.
196              
197             =cut