File Coverage

corpus/libpalindrome.alienfile
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1 2     2   67326 use alienfile;
  2         22  
  2         14  
2 2     2   237 use Path::Tiny qw( path );
  2         4  
  2         382  
3              
4             # ignore any system .pc files
5             probe sub { 'share' };
6              
7             plugin 'PkgConfig' => (
8             pkg_name => 'libpalindrome',
9             );
10              
11             share {
12             requires 'Alien::Autotools';
13              
14             meta->prop->{start_url} = path(__FILE__)->parent->child('libpalindrome')->stringify;
15             plugin 'Fetch::LocalDir';
16             plugin 'Extract::Directory';
17             plugin 'Build::Autoconf';
18            
19             build [
20             (map { $^O eq 'MSWin32' ? ['sh', -c => $_] : $_ } ('autoreconf -vfi')),
21             '%{configure} --enable-shared --disable-static',
22             '%{make}',
23             '%{make} install',
24             ];
25            
26             plugin 'Gather::Dino';
27             };