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   608938 use strict;
  3         19  
  3         97  
4 3     3   18 use warnings;
  3         7  
  3         87  
5 3     3   69 use 5.008001;
  3         13  
6 3     3   19 use base qw( Alien::Base );
  3         8  
  3         2827  
7              
8             # ABSTRACT: Find or download or build cmake 3 or better
9             our $VERSION = '0.06'; # 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 32824 }
29              
30             1;
31              
32             __END__