line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::Plugin::ExecDir 6.030; |
2
|
|
|
|
|
|
|
# ABSTRACT: install a directory's contents as executables |
3
|
|
|
|
|
|
|
|
4
|
17
|
|
|
17
|
|
13125
|
use Moose; |
|
17
|
|
|
|
|
59
|
|
|
17
|
|
|
|
|
142
|
|
5
|
|
|
|
|
|
|
|
6
|
17
|
|
|
17
|
|
122170
|
use Dist::Zilla::Pragmas; |
|
17
|
|
|
|
|
57
|
|
|
17
|
|
|
|
|
163
|
|
7
|
|
|
|
|
|
|
|
8
|
17
|
|
|
17
|
|
163
|
use namespace::autoclean; |
|
17
|
|
|
|
|
44
|
|
|
17
|
|
|
|
|
225
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
#pod =head1 SYNOPSIS |
11
|
|
|
|
|
|
|
#pod |
12
|
|
|
|
|
|
|
#pod In your F<dist.ini>: |
13
|
|
|
|
|
|
|
#pod |
14
|
|
|
|
|
|
|
#pod [ExecDir] |
15
|
|
|
|
|
|
|
#pod dir = scripts |
16
|
|
|
|
|
|
|
#pod |
17
|
|
|
|
|
|
|
#pod If no C<dir> is provided, the default is F<bin>. |
18
|
|
|
|
|
|
|
#pod |
19
|
|
|
|
|
|
|
#pod =cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
has dir => ( |
22
|
|
|
|
|
|
|
is => 'ro', |
23
|
|
|
|
|
|
|
isa => 'Str', |
24
|
|
|
|
|
|
|
default => 'bin', |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::ExecFiles'; |
28
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=pod |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=encoding UTF-8 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 NAME |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Dist::Zilla::Plugin::ExecDir - install a directory's contents as executables |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 VERSION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
version 6.030 |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 SYNOPSIS |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
In your F<dist.ini>: |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
[ExecDir] |
50
|
|
|
|
|
|
|
dir = scripts |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
If no C<dir> is provided, the default is F<bin>. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 PERL VERSION |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
57
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
58
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
59
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
62
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
63
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
64
|
|
|
|
|
|
|
the minimum required perl. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 AUTHOR |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
This software is copyright (c) 2023 by Ricardo SIGNES. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
75
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=cut |