| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# vim: ts=4 sts=4 sw=4 et: syntax=perl |
|
2
|
|
|
|
|
|
|
# |
|
3
|
|
|
|
|
|
|
# Copyright (c) 2020-2023 Sven Kirmess |
|
4
|
|
|
|
|
|
|
# |
|
5
|
|
|
|
|
|
|
# Permission to use, copy, modify, and distribute this software for any |
|
6
|
|
|
|
|
|
|
# purpose with or without fee is hereby granted, provided that the above |
|
7
|
|
|
|
|
|
|
# copyright notice and this permission notice appear in all copies. |
|
8
|
|
|
|
|
|
|
# |
|
9
|
|
|
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
|
10
|
|
|
|
|
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
|
11
|
|
|
|
|
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
|
12
|
|
|
|
|
|
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
|
13
|
|
|
|
|
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
|
14
|
|
|
|
|
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
|
15
|
|
|
|
|
|
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
16
|
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
1684
|
use 5.006; |
|
|
1
|
|
|
|
|
3
|
|
|
18
|
1
|
|
|
1
|
|
5
|
use strict; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
19
|
|
|
19
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
54
|
|
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
package Dist::Zilla::Plugin::Code; |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
our $VERSION = '0.008'; |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=pod |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=encoding UTF-8 |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Dist::Zilla::Plugin::Code - dynamically create plugins from a bundle |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 VERSION |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Version 0.008 |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=over 4 |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::AfterBuild> |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
something that runs after building is mostly complete |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::AfterRelease> |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
something that runs after release is mostly complete |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::BeforeArchive> |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
something that runs before the archive file is built |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::BeforeBuild> |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
something that runs before building really begins |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::BeforeRelease> |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
something that runs before release really begins |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::BuildRunner> |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
something used as a delegating agent during 'dzil run' |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::EncodingProvider> |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
something that sets a files' encoding |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::FileFinder> |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
something that finds files within the distribution |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::FileGatherer> |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
something that gathers files into the distribution |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::FileMunger> |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
something that munges files within the distribution |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::FilePruner> |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
something that prunes files from the distribution |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::Initialization> |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
something that runs when plugins are initialized |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::InstallTool> |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
something that creates an install program for a dist |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::LicenseProvider> |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
something that offers a license for a dist |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::MetaProvider> |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
something that provides data to merge into the distribution metadata |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::NameProvider> |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
something that provides a name for the dist |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::PrereqSource> |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
something that registers prereqs of the dist |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::ReleaseStatusProvider> |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
something that provides a release status for the dist |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::Releaser> |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
something that makes a release of the dist |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::TestRunner> |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
something that tests the dist |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=item L<Dist::Zilla::Plugin::Code::VersionProvider> |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
something that provides a version number for the dist |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=item L<Dist::Zilla::PluginBundle::Code> |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
a dynamic bundle |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=back |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head1 SUPPORT |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 Bugs / Feature Requests |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Please report any bugs or feature requests through the issue tracker |
|
140
|
|
|
|
|
|
|
at L<https://github.com/skirmess/Dist-Zilla-Plugin-Code/issues>. |
|
141
|
|
|
|
|
|
|
You will be notified automatically of any progress on your issue. |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head2 Source Code |
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
This is open source software. The code repository is available for |
|
146
|
|
|
|
|
|
|
public review and contribution under the terms of the license. |
|
147
|
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
L<https://github.com/skirmess/Dist-Zilla-Plugin-Code> |
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
git clone https://github.com/skirmess/Dist-Zilla-Plugin-Code.git |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head1 AUTHOR |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Sven Kirmess <sven.kirmess@kzone.ch> |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
L<Dist::Zilla> |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=cut |