File: Build.PL

package info (click to toggle)
libtest-aggregate-perl 0.371-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 264 kB
  • ctags: 62
  • sloc: perl: 1,201; makefile: 2
file content (47 lines) | stat: -rw-r--r-- 1,336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
use strict;
use warnings;
use Module::Build;

use 5.006;

# git ls-files lib | xargs perl-reversion -bump
# perl Build.PL && ./Build manifest && ./Build test && ./Build dist

my $builder = Module::Build->new(
    module_name       => 'Test::Aggregate',
    license           => 'perl',
    dist_author       => 'Curtis "Ovid" Poe <ovid@cpan.org>',
    dist_version_from => 'lib/Test/Aggregate.pm',
    build_requires    => {
        'Test::Simple' => 0.94,    # we fail on the common 0.62
        'Test::Most'   => 0.21,
        'Test::Trap'   => 0,
    },
    requires => {
        'Test::Harness'    => 3.09,
        'Test::NoWarnings' => 0,
        'FindBin'          => 1.47,
    },
    recommends => {
        'Data::Dump::Streamer' => 1.11,
        'Perl::Tidy'           => 20060614,
        'Test::More'           => '0.94',
    },
    meta_merge =>
    {
        resources =>
        {
            repository => "https://github.com/rwstauner/test-aggregate",
        },
        x_contributors => [
          'Curtis "Ovid" Poe <ovid@cpan.org>',
          'Florian Ragwitz <flora@cpan.org>',
          'Shlomi Fish <shlomif@cpan.org>',
          'Randy Stauner <rwstauner@cpan.org>',
        ],
    },
    add_to_cleanup     => ['Test-Aggregate-*'],
    create_makefile_pl => 'traditional',
);

$builder->create_build_script();