| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package My::Module::Build; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
5
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
37
|
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
|
1
|
|
|
|
|
9
|
|
|
|
1
|
|
|
|
|
61
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
708
|
use Module::Build; |
|
|
1
|
|
|
|
|
95825
|
|
|
|
1
|
|
|
|
|
83
|
|
|
7
|
|
|
|
|
|
|
our @ISA = qw{ Module::Build }; |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.091'; |
|
10
|
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
10
|
use Carp; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
216
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub ACTION_authortest { |
|
14
|
0
|
|
|
0
|
0
|
|
my ( $self ) = @_; # @args unused |
|
15
|
|
|
|
|
|
|
|
|
16
|
0
|
|
|
|
|
|
local $ENV{AUTHOR_TESTING} = 1; |
|
17
|
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
$self->depends_on( 'build' ); |
|
19
|
0
|
|
|
|
|
|
$self->test_files( qw{ t xt/author } ); |
|
20
|
0
|
|
|
|
|
|
$self->depends_on( 'test' ); |
|
21
|
|
|
|
|
|
|
|
|
22
|
0
|
|
|
|
|
|
return; |
|
23
|
|
|
|
|
|
|
} |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
My::Module::Build - Extend Module::Build for PPIx::Regexp |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
perl Build.PL |
|
36
|
|
|
|
|
|
|
./Build |
|
37
|
|
|
|
|
|
|
./Build test |
|
38
|
|
|
|
|
|
|
./Build authortest # supplied by this module |
|
39
|
|
|
|
|
|
|
./Build install |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
This extension of L<Module::Build|Module::Build> adds the following |
|
44
|
|
|
|
|
|
|
action to those provided by L<Module::Build|Module::Build>: |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
authortest |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 ACTIONS |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This module provides the following action: |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=over |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item authortest |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This action runs not only those tests which appear in the F<t> |
|
57
|
|
|
|
|
|
|
directory, but those that appear in the F<xt> directory. The F<xt> tests |
|
58
|
|
|
|
|
|
|
are provided for information only, since some of them (notably |
|
59
|
|
|
|
|
|
|
F<xt/critic.t> and F<xt/pod_spelling.t>) are very sensitive to the |
|
60
|
|
|
|
|
|
|
configuration under which they run. |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Some of the F<xt> tests require modules that are not named as |
|
63
|
|
|
|
|
|
|
requirements. These should disable themselves if the required modules |
|
64
|
|
|
|
|
|
|
are not present. |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This test is sensitive to the C<verbose=1> argument, but not to the |
|
67
|
|
|
|
|
|
|
C<--test_files> argument. |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=back |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 SUPPORT |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Support is by the author. Please file bug reports at |
|
74
|
|
|
|
|
|
|
L<https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>, |
|
75
|
|
|
|
|
|
|
L<https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in |
|
76
|
|
|
|
|
|
|
electronic mail to the author. |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 AUTHOR |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Thomas R. Wyant, III F<wyant at cpan dot org> |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Copyright (C) 2009-2023, 2025 by Thomas R. Wyant, III |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
|
87
|
|
|
|
|
|
|
under the same terms as Perl 5.10.0. For more details, see the full text |
|
88
|
|
|
|
|
|
|
of the licenses in the directory LICENSES. |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, but |
|
91
|
|
|
|
|
|
|
without any warranty; without even the implied warranty of |
|
92
|
|
|
|
|
|
|
merchantability or fitness for a particular purpose. |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
# ex: set textwidth=72 : |