line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: something that creates an install program for a dist |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Moose::Role; |
4
|
14
|
|
|
14
|
|
9549
|
with qw( |
|
14
|
|
|
|
|
51
|
|
|
14
|
|
|
|
|
144
|
|
5
|
|
|
|
|
|
|
Dist::Zilla::Role::Plugin |
6
|
|
|
|
|
|
|
Dist::Zilla::Role::FileInjector |
7
|
|
|
|
|
|
|
); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use Dist::Zilla::Pragmas; |
10
|
14
|
|
|
14
|
|
74827
|
|
|
14
|
|
|
|
|
42
|
|
|
14
|
|
|
|
|
135
|
|
11
|
|
|
|
|
|
|
use namespace::autoclean; |
12
|
14
|
|
|
14
|
|
144
|
|
|
14
|
|
|
|
|
38
|
|
|
14
|
|
|
|
|
121
|
|
13
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
14
|
|
|
|
|
|
|
#pod |
15
|
|
|
|
|
|
|
#pod Plugins implementing InstallTool have their C<setup_installer> method called to |
16
|
|
|
|
|
|
|
#pod inject files after all other file injection and munging has taken place. |
17
|
|
|
|
|
|
|
#pod They're expected to produce files needed to make the distribution |
18
|
|
|
|
|
|
|
#pod installable, like F<Makefile.PL> or F<Build.PL> and add them with the |
19
|
|
|
|
|
|
|
#pod C<add_file> method provided by L<Dist::Zilla::Role::FileInjector>, which is |
20
|
|
|
|
|
|
|
#pod also composed by this role. |
21
|
|
|
|
|
|
|
#pod |
22
|
|
|
|
|
|
|
#pod =cut |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
requires 'setup_installer'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=pod |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=encoding UTF-8 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Dist::Zilla::Role::InstallTool - something that creates an install program for a dist |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 VERSION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
version 6.028 |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Plugins implementing InstallTool have their C<setup_installer> method called to |
44
|
|
|
|
|
|
|
inject files after all other file injection and munging has taken place. |
45
|
|
|
|
|
|
|
They're expected to produce files needed to make the distribution |
46
|
|
|
|
|
|
|
installable, like F<Makefile.PL> or F<Build.PL> and add them with the |
47
|
|
|
|
|
|
|
C<add_file> method provided by L<Dist::Zilla::Role::FileInjector>, which is |
48
|
|
|
|
|
|
|
also composed by this role. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 PERL VERSION |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
53
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
54
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
55
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
58
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
59
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
60
|
|
|
|
|
|
|
the minimum required perl. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 AUTHOR |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo SIGNES. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
71
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=cut |