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   1272379 use strict;
  3         17  
  3         99  
4 3     3   14 use warnings;
  3         6  
  3         66  
5 3     3   68 use 5.008001;
  3         9  
6 3     3   23 use base qw( Alien::Base );
  3         5  
  3         2990  
7              
8             # ABSTRACT: Find or download or build cmake 3 or better
9             our $VERSION = '0.08'; # 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 35247 }
29              
30             1;
31              
32             __END__