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