line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::App::Command::externaldeps; ## no critic (Capitalization) |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: print external libraries and binaries prerequisites |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
31327
|
use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion) |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.007'; # VERSION |
8
|
1
|
|
|
1
|
|
173
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
#pod =for test_synopsis |
11
|
|
|
|
|
|
|
#pod BEGIN { die "SKIP: this is command line, not perl\n" } |
12
|
|
|
|
|
|
|
#pod |
13
|
|
|
|
|
|
|
#pod =head1 SYNOPSIS |
14
|
|
|
|
|
|
|
#pod |
15
|
|
|
|
|
|
|
#pod On the command line: |
16
|
|
|
|
|
|
|
#pod |
17
|
|
|
|
|
|
|
#pod % dzil externaldeps |
18
|
|
|
|
|
|
|
#pod man |
19
|
|
|
|
|
|
|
#pod sqlite3 |
20
|
|
|
|
|
|
|
#pod |
21
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
22
|
|
|
|
|
|
|
#pod |
23
|
|
|
|
|
|
|
#pod This is a command plugin for L<Dist::Zilla|Dist::Zilla>. It provides the |
24
|
|
|
|
|
|
|
#pod C<externaldeps> command, which prints external prerequisites declared |
25
|
|
|
|
|
|
|
#pod with |
26
|
|
|
|
|
|
|
#pod L<Dist::Zilla::Plugin::RequiresExternal|Dist::Zilla::Plugin::RequiresExternal>. |
27
|
|
|
|
|
|
|
#pod |
28
|
|
|
|
|
|
|
#pod =cut |
29
|
|
|
|
|
|
|
|
30
|
1
|
|
|
1
|
|
34
|
use Dist::Zilla::App -command; ## no critic (ProhibitCallsToUndeclaredSubs) |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
31
|
1
|
|
|
1
|
|
490
|
use English '-no_match_vars'; |
|
1
|
|
|
|
|
737
|
|
|
1
|
|
|
|
|
6
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
1
|
1
|
|
sub opt_spec { } |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub execute { |
36
|
1
|
|
|
1
|
1
|
310
|
my $self = shift; |
37
|
1
|
|
|
|
|
7
|
my $plugin = $self->zilla->plugin_named('RequiresExternal'); |
38
|
1
|
|
|
|
|
47620
|
local $LIST_SEPARATOR = "\n"; |
39
|
1
|
|
|
|
|
3
|
say "@{ $plugin->_requires }"; |
|
1
|
|
|
|
|
32
|
|
40
|
1
|
|
|
|
|
68
|
return; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
## no critic (NamingConventions::ProhibitAmbiguousNames) |
44
|
0
|
|
|
0
|
1
|
|
sub abstract { return 'print external libraries and binaries prerequisites' } |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=pod |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=encoding utf8 |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=for :stopwords Mark Gardner Joenio Costa GSI Commerce and cpan testmatrix url annocpan |
55
|
|
|
|
|
|
|
anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders |
56
|
|
|
|
|
|
|
metacpan |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 NAME |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Dist::Zilla::App::Command::externaldeps - print external libraries and binaries prerequisites |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 VERSION |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
version 1.007 |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=for test_synopsis BEGIN { die "SKIP: this is command line, not perl\n" } |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 SYNOPSIS |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
On the command line: |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
% dzil externaldeps |
73
|
|
|
|
|
|
|
man |
74
|
|
|
|
|
|
|
sqlite3 |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 DESCRIPTION |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This is a command plugin for L<Dist::Zilla|Dist::Zilla>. It provides the |
79
|
|
|
|
|
|
|
C<externaldeps> command, which prints external prerequisites declared |
80
|
|
|
|
|
|
|
with |
81
|
|
|
|
|
|
|
L<Dist::Zilla::Plugin::RequiresExternal|Dist::Zilla::Plugin::RequiresExternal>. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 SUPPORT |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 Perldoc |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
perldoc Dist::Zilla::Plugin::RequiresExternal |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 Websites |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
The following websites have more information about this module, and may be of help to you. As always, |
94
|
|
|
|
|
|
|
in addition to those websites please use your favorite search engine to discover more resources. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=over 4 |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item * |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Search CPAN |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
The default CPAN search engine, useful to view POD in HTML format. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
L<http://search.cpan.org/dist/Dist-Zilla-Plugin-RequiresExternal> |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=item * |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
AnnoCPAN |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
The AnnoCPAN is a website that allows community annotations of Perl module documentation. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
L<http://annocpan.org/dist/Dist-Zilla-Plugin-RequiresExternal> |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=item * |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
CPAN Ratings |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
L<http://cpanratings.perl.org/d/Dist-Zilla-Plugin-RequiresExternal> |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=item * |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
CPANTS |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
L<http://cpants.cpanauthors.org/dist/Dist-Zilla-Plugin-RequiresExternal> |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=item * |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
CPAN Testers |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions. |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
L<http://www.cpantesters.org/distro/D/Dist-Zilla-Plugin-RequiresExternal> |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=item * |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
CPAN Testers Matrix |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
L<http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-RequiresExternal> |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=item * |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
CPAN Testers Dependencies |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
L<http://deps.cpantesters.org/?module=Dist::Zilla::Plugin::RequiresExternal> |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=back |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=head2 Bugs / Feature Requests |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
Please report any bugs or feature requests through the web |
159
|
|
|
|
|
|
|
interface at L<https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal/issues>. You will be automatically notified of any |
160
|
|
|
|
|
|
|
progress on the request by the system. |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 Source Code |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
The code is open to the world, and available for you to hack on. Please feel free to browse it and play |
165
|
|
|
|
|
|
|
with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull |
166
|
|
|
|
|
|
|
from your repository :) |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
L<https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal> |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
git clone git://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal.git |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head1 AUTHORS |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=over 4 |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=item * |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
Mark Gardner <mjgardner@cpan.org> |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=item * |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Joenio Costa <joenio@joenio.me> |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=back |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
This software is copyright (c) 2017 by GSI Commerce and Joenio Costa. |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
191
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=cut |