line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::mbxilinx; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
25299
|
use 5.0008; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
42
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
69
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
6
|
1
|
|
|
1
|
|
820
|
use YAML qw/LoadFile/; |
|
1
|
|
|
|
|
53889
|
|
|
1
|
|
|
|
|
81
|
|
7
|
1
|
|
|
1
|
|
913
|
use Module::Build::Xilinx; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
166
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.13'; |
10
|
|
|
|
|
|
|
$VERSION = eval $VERSION; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub process { |
13
|
0
|
|
|
0
|
1
|
|
my ($self, $yml) = @_; |
14
|
0
|
|
|
|
|
|
my $data = LoadFile($yml); |
15
|
0
|
0
|
|
|
|
|
die "YAML data is not a hash reference" unless ref $data eq 'HASH'; |
16
|
0
|
|
|
|
|
|
my $build = Module::Build::Xilinx->new(%$data); |
17
|
0
|
|
|
|
|
|
$build->create_build_script; |
18
|
0
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |