File: MyModuleBuild.pm

package info (click to toggle)
libparams-validate-perl 1.06-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 776 kB
  • sloc: perl: 2,179; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package inc::MyModuleBuild;

use strict;
use warnings;

use Moose;

extends 'Dist::Zilla::Plugin::ModuleBuild::XSOrPP';

around module_build_args => sub {
    my $orig = shift;
    my $self = shift;

    my $args = $self->$orig(@_);

    $args->{c_source} = 'c';

    return $args;
};

__PACKAGE__->meta()->make_immutable();

1;