File Coverage

blib/lib/Alien/cmake3.pm
Criterion Covered Total %
statement 12 15 80.0
branch n/a
condition n/a
subroutine 5 7 71.4
pod 2 2 100.0
total 19 24 79.1


line stmt bran cond sub pod time code
1             package Alien::cmake3;
2              
3 3     3   629774 use strict;
  3         17  
  3         103  
4 3     3   15 use warnings;
  3         6  
  3         79  
5 3     3   76 use 5.008001;
  3         11  
6 3     3   19 use base qw( Alien::Base );
  3         7  
  3         3061  
7              
8             # ABSTRACT: Find or download or build cmake 3 or better
9             our $VERSION = '0.07'; # VERSION
10              
11              
12             sub exe
13             {
14 0     0 1 0 my($class) = @_;
15 0         0 $class->runtime_prop->{command};
16             }
17              
18             sub alien_helper
19             {
20             return {
21             cmake3 => sub {
22             # return the executable name for GNU make,
23             # usually either make or gmake depending on
24             # the platform and environment
25 0     0   0 Alien::cmake3->exe;
26             },
27             }
28 1     1 1 36254 }
29              
30             1;
31              
32             __END__