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   989489 use strict;
  3         7  
  3         109  
4 3     3   17 use warnings;
  3         38  
  3         150  
5 3     3   66 use 5.008001;
  3         10  
6 3     3   16 use base qw( Alien::Base );
  3         7  
  3         2037  
7              
8             # ABSTRACT: Find or download or build cmake 3
9             our $VERSION = '0.10'; # 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 397345 }
29              
30             1;
31              
32             __END__