File: Build.PL

package info (click to toggle)
libmoosex-role-strict-perl 0.5-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 140 kB
  • sloc: perl: 120; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name       => 'MooseX::Role::Strict',
    license           => 'perl',
    dist_author       => 'Curtis "Ovid" Poe <ovid@cpan.org>',
    dist_version_from => 'lib/MooseX/Role/Strict.pm',
    build_requires    => { 'Test::More' => 0.96, },
    requires          => {
        'Moose' => 0.89,    # for --metaclass, -excludes
    },
    meta_merge => {
        resources =>
          { repository => 'http://github.com/Ovid/MooseX--Role--Strict' }
    },
    add_to_cleanup     => ['MooseX-Role-Strict-*'],
    create_makefile_pl => 'traditional',
);

$builder->create_build_script();