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
|
|
63967
|
use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion) |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.009'; # VERSION |
8
|
1
|
|
|
1
|
|
184
|
use utf8; |
|
1
|
|
|
|
|
3
|
|
|
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
|
|
|
|
|
13
|
|
31
|
1
|
|
|
1
|
|
1342
|
use English '-no_match_vars'; |
|
1
|
|
|
|
|
794
|
|
|
1
|
|
|
|
|
6
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
1
|
1
|
|
sub opt_spec { } |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub execute { |
36
|
1
|
|
|
1
|
1
|
334
|
my $self = shift; |
37
|
1
|
|
|
|
|
9
|
my $plugin = $self->zilla->plugin_named('RequiresExternal'); |
38
|
1
|
|
|
|
|
55653
|
local $LIST_SEPARATOR = "\n"; |
39
|
1
|
|
|
|
|
3
|
say "@{ $plugin->_requires }"; |
|
1
|
|
|
|
|
32
|
|
40
|
1
|
|
|
|
|
113
|
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 bugtracker |
55
|
|
|
|
|
|
|
rt cpants kwalitee diff irc mailto metadata placeholders metacpan |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 NAME |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Dist::Zilla::App::Command::externaldeps - print external libraries and binaries prerequisites |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 VERSION |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
version 1.009 |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=for test_synopsis BEGIN { die "SKIP: this is command line, not perl\n" } |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 SYNOPSIS |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
On the command line: |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
% dzil externaldeps |
72
|
|
|
|
|
|
|
man |
73
|
|
|
|
|
|
|
sqlite3 |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 DESCRIPTION |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This is a command plugin for L<Dist::Zilla|Dist::Zilla>. It provides the |
78
|
|
|
|
|
|
|
C<externaldeps> command, which prints external prerequisites declared |
79
|
|
|
|
|
|
|
with |
80
|
|
|
|
|
|
|
L<Dist::Zilla::Plugin::RequiresExternal|Dist::Zilla::Plugin::RequiresExternal>. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 SUPPORT |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 Perldoc |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
perldoc Dist::Zilla::App::Command::externaldeps |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 Websites |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
The following websites have more information about this module, and may be of help to you. As always, |
93
|
|
|
|
|
|
|
in addition to those websites please use your favorite search engine to discover more resources. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=over 4 |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=item * |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
CPANTS |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
L<http://cpants.cpanauthors.org/dist/Dist-Zilla-Plugin-RequiresExternal> |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=item * |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
CPAN Testers |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
L<http://www.cpantesters.org/distro/D/Dist-Zilla-Plugin-RequiresExternal> |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=item * |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
CPAN Testers Matrix |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
L<http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-RequiresExternal> |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=item * |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
CPAN Testers Dependencies |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution. |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
L<http://deps.cpantesters.org/?module=Dist::Zilla::Plugin::RequiresExternal> |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=back |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head2 Bugs / Feature Requests |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Please report any bugs or feature requests through the web |
134
|
|
|
|
|
|
|
interface at L<https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal/issues>. You will be automatically notified of any |
135
|
|
|
|
|
|
|
progress on the request by the system. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 Source Code |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
The code is open to the world, and available for you to hack on. Please feel free to browse it and play |
140
|
|
|
|
|
|
|
with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull |
141
|
|
|
|
|
|
|
from your repository :) |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
L<https://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal> |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
git clone git://github.com/mjgardner/Dist-Zilla-Plugin-RequiresExternal.git |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head1 AUTHORS |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=over 4 |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=item * |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
Mark Gardner <mjgardner@cpan.org> |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=item * |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Joenio Costa <joenio@joenio.me> |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=back |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
This software is copyright (c) 2020 by GSI Commerce and Joenio Costa. |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
166
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=cut |