_build/lib/My/Builder.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 95.2% 20 / 21 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
ACTION_code
1.0
CRAP 1.0
« Build ↑ Summary
1 package My::Builder;
2 1 ▶use Module::Build;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 our @ISA = qw(Module::Build);
4  
5 sub ACTION_code {
6 1 ▶ use File::Spec::Functions;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶ my $self = shift;
Subroutine ACTION_code: called CC=1 SCAR=0.0
Pod undocumented
8 1 $self->SUPER::ACTION_code(@_);
9 # Copy the test scripts and then set the shebang line and make
10 # sure that they're executable.
11 1 my $to_dir = $self->localize_file_path("t/scripts");
12 1 my $from = $self->localize_file_path("t/bin/mysql");
13 1 my $to = $self->localize_file_path("$to_dir/mysql");
14 1 $self->copy_if_modified(
15 from => $from,
16 to_dir => $to_dir,
17 flatten => 1,
18 );
19 1 $self->fix_shebang_line($to);
20 1 $self->make_executable($to);
21 1 $self->add_to_cleanup($to_dir);
22 }
23
24 1 1;
« Build ↑ Summary