alienfile

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 86.3% 19 / 22 CC 1 SCAR 2.2
CC
1
Cov
89%
__ANON__
2.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.2
« blib/lib/Acme/Alien/DontPanic/Install/Files.pm ↑ Summary blib/lib/Acme/Alien/DontPanic.pm »
1 1 ▶use alienfile;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 1 plugin 'PkgConfig' => 'dontpanic';
4  
5 1 plugin 'Probe::CommandLine' => (
6 command => 'dontpanic',
7 secondary => 1,
8 );
9  
10 1 ▶share {
Subroutine __ANON__: called CC=1 SCAR=0.0
11  
12 1 start_url 'https://alienfile.org/dontpanic/';
13 1 digest SHA256 => 'd6f7603c0bf0d3994631bdeab59d38fa7ce5eccf53be04047dd1e83b312a7b5a';
14  
15 1 plugin Download => (
16 version => qr/([0-9\.]+)\.tar\.gz$/,
17 );
18 1 plugin Extract => 'tar.gz';
19 1 plugin 'Build::Autoconf';
20
21 1 test [ '%{make} check' ];
22  
23 1 ▶ ffi {
Subroutine __ANON__: called CC=1 SCAR=0.0
24
25 1 build [
26 # TODO: under windows, dll is installed in bin. setting --bindir doesn't seem to work for the .dll
27 # only the .exe.
28 '%{configure} --enable-shared --disable-static --libdir=%{.install.autoconf_prefix}/dynamic',
29 '%{make}',
30 '%{make} install',
31 ];
32
33 1 test [ '%{make} check' ];
34  
35 1 };
36  
37 1 };
38  
39 meta->after_hook(
40 0 ▶ $_ => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
41 0 my($build) = @_;
42 0 $build->runtime_prop->{legacy}->{inline_auto_include} = ['libdontpanic.h'];
43 },
44 1 ) for qw( gather_share gather_system );
« blib/lib/Acme/Alien/DontPanic/Install/Files.pm ↑ Summary blib/lib/Acme/Alien/DontPanic.pm »