line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
2813914
|
use 5.008; |
|
2
|
|
|
|
|
8
|
|
2
|
2
|
|
|
2
|
|
11
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
46
|
|
3
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
136
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: Release tests for the manifest |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '2.000006'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use Moose; |
10
|
2
|
|
|
2
|
|
13
|
extends 'Dist::Zilla::Plugin::InlineFiles'; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
17
|
|
11
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::PrereqSource'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
{ |
14
|
|
|
|
|
|
|
my $self = shift; |
15
|
|
|
|
|
|
|
$self->zilla->register_prereqs( |
16
|
2
|
|
|
2
|
0
|
134209
|
{ |
17
|
2
|
|
|
|
|
64
|
type => 'requires', |
18
|
|
|
|
|
|
|
phase => 'develop', |
19
|
|
|
|
|
|
|
}, |
20
|
|
|
|
|
|
|
'Test::DistManifest' => 0, |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
25
|
|
|
|
|
|
|
no Moose; |
26
|
|
|
|
|
|
|
1; |
27
|
2
|
|
|
2
|
|
12659
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
10
|
|
28
|
|
|
|
|
|
|
#pod =head1 SYNOPSIS |
29
|
|
|
|
|
|
|
#pod |
30
|
|
|
|
|
|
|
#pod In C<dist.ini>: |
31
|
|
|
|
|
|
|
#pod |
32
|
|
|
|
|
|
|
#pod [Test::DistManifest] |
33
|
|
|
|
|
|
|
#pod |
34
|
|
|
|
|
|
|
#pod =for test_synopsis |
35
|
|
|
|
|
|
|
#pod 1; |
36
|
|
|
|
|
|
|
#pod __END__ |
37
|
|
|
|
|
|
|
#pod |
38
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
39
|
|
|
|
|
|
|
#pod |
40
|
|
|
|
|
|
|
#pod This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing the |
41
|
|
|
|
|
|
|
#pod following file: |
42
|
|
|
|
|
|
|
#pod |
43
|
|
|
|
|
|
|
#pod xt/release/dist-manifest.t - a standard Test::DistManifest test |
44
|
|
|
|
|
|
|
#pod |
45
|
|
|
|
|
|
|
#pod =for Pod::Coverage register_prereqs |
46
|
|
|
|
|
|
|
#pod |
47
|
|
|
|
|
|
|
#pod =cut |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=pod |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=encoding UTF-8 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 NAME |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Dist::Zilla::Plugin::Test::DistManifest - Release tests for the manifest |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 VERSION |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
version 2.000006 |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 SYNOPSIS |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
In C<dist.ini>: |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
[Test::DistManifest] |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 DESCRIPTION |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing the |
70
|
|
|
|
|
|
|
following file: |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
xt/release/dist-manifest.t - a standard Test::DistManifest test |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=for test_synopsis 1; |
75
|
|
|
|
|
|
|
__END__ |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=for Pod::Coverage register_prereqs |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 SUPPORT |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-DistManifest> |
82
|
|
|
|
|
|
|
(or L<bug-Dist-Zilla-Plugin-Test-DistManifest@rt.cpan.org|mailto:bug-Dist-Zilla-Plugin-Test-DistManifest@rt.cpan.org>). |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
There is also a mailing list available for users of this distribution, at |
85
|
|
|
|
|
|
|
L<http://dzil.org/#mailing-list>. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
There is also an irc channel available for users of this distribution, at |
88
|
|
|
|
|
|
|
L<C<#distzilla> on C<irc.perl.org>|irc://irc.perl.org/#distzilla>. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
I am also usually active on irc, as 'ether' at C<irc.perl.org> and C<irc.libera.chat>. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 AUTHORS |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=over 4 |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=item * |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
Marcel Grünauer <marcel@cpan.org> |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=item * |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Mike Doherty <doherty@cpan.org> |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=back |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 CONTRIBUTORS |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=for stopwords Marcel Gruenauer Mike Doherty Karen Etheridge Graham Knop Kent Fredric |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=over 4 |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=item * |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Marcel Gruenauer <hanekomu@gmail.com> |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=item * |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
Mike Doherty <doherty@cs.dal.ca> |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=item * |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Karen Etheridge <ether@cpan.org> |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=item * |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Mike Doherty <mike@mikedoherty.ca> |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=item * |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Graham Knop <haarg@haarg.org> |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=item * |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
Kent Fredric <kentfredric@gmail.com> |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=back |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENCE |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
This software is copyright (c) 2010 by Karen Etheridge. |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
143
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=cut |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
___[ xt/release/dist-manifest.t ]___ |
148
|
|
|
|
|
|
|
use strict; |
149
|
|
|
|
|
|
|
use warnings; |
150
|
|
|
|
|
|
|
use Test::More; |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
use Test::DistManifest; |
153
|
|
|
|
|
|
|
manifest_ok(); |