File Coverage

blib/lib/Alien/gmake.pm
Criterion Covered Total %
statement 19 19 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod 2 2 100.0
total 29 29 100.0


line stmt bran cond sub pod time code
1             package Alien::gmake;
2              
3 2     2   383333 use strict;
  2         10  
  2         45  
4 2     2   7 use warnings;
  2         4  
  2         43  
5 2     2   7 use base qw( Alien::Base );
  2         4  
  2         891  
6 2     2   38634 use Env qw( @PATH );
  2         2191  
  2         11  
7 2     2   294 use File::Spec;
  2         4  
  2         173  
8              
9             # ABSTRACT: Find or build GNU Make
10             our $VERSION = '0.21'; # VERSION
11              
12              
13             sub exe
14             {
15 6     6 1 166455 my($class) = @_;
16 6         31 $class->runtime_prop->{command};
17             }
18              
19              
20             sub alien_helper
21             {
22             return {
23             gmake => sub {
24             # return the executable name for GNU make,
25             # usually either make or gmake depending on
26             # the platform and environment
27 1     1   63 Alien::gmake->exe;
28             },
29             }
30 2     2 1 7226 }
31              
32             1;
33              
34             __END__