| 1 | package builder::MyBuilder; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use base qw(Module::Build); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use XS::Parse::Keyword::Builder; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 9 | 0 | my ($class, %args) = @_; | |
| 10 | |||
| 11 | 0 | my $build = $class->SUPER::new(%args); | |
| 12 | |||
| 13 | 0 | my @flags = @{ $build->extra_compiler_flags }; | |
| 14 | 0 | push @flags, XS::Parse::Keyword::Builder->extra_compiler_flags; | |
| 15 | 0 | push @flags, '-Ihax'; | |
| 16 | |||
| 17 | 0 | $build->extra_compiler_flags( @flags ); | |
| 18 | |||
| 19 | 0 | return $build; | |
| 20 | } | ||
| 21 | |||
| 22 | 1 | ▶ | sub ACTION_code { |
|
Subroutine
ACTION_code: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 23 | 1 | my ($self, @args) = @_; | |
| 24 | |||
| 25 | 1 | XS::Parse::Keyword::Builder->write_XSParseKeyword_h; | |
| 26 | |||
| 27 | 1 | $self->SUPER::ACTION_code(@args); | |
| 28 | } | ||
| 29 | |||
| 30 | 1 | 1; | |