File: Build.PL

package info (click to toggle)
libtest-class-perl 0.47-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 516 kB
  • ctags: 110
  • sloc: perl: 1,984; makefile: 2
file content (49 lines) | stat: -rw-r--r-- 1,491 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
48
49
use Module::Build 0.4004;    # test_requires

use strict;
use warnings;

use Test::Builder;

# 0.99 broke test_out with qr//
my $tb_v = Test::Builder->VERSION eq '0.99' ? '1.001002' : '0.78';

my $build = Module::Build->new(
    module_name => 'Test::Class',
    license     => 'perl',
    configure_requires => {
        'Module::Build'         => '0.4004',
    },
    requires    => {
        'perl'                  => '5.008001',
        'Attribute::Handlers'   => '0.77',
        'MRO::Compat'           => '0.11',
        'Storable'              => '2.04',
        'Test::Simple'          => '1.001002',
        'Test::Builder'         => $tb_v,
        'Test::Builder::Tester' => '1.02',
        'Carp'                  => '0',
        'File::Find'            => '0',
        'File::Spec'            => '0',
        'constant'              => '0',
        'strict'                => '0',
        'warnings'              => '0',
    },
    test_requires => {
        'Test::Exception'       => '0.25',
        'IO::File'              => '1.09',
        'Test::More'            => '0.78',
        'Fcntl'                 => '0',
        'Test'                  => '0',
        'base'                  => '0',
        'overload'              => '0',
    },
    meta_merge => {
        resources => {
            repository => 'http://github.com/adrianh/test-class/',
        },
    },
    create_makefile_pl => 'traditional',
    create_readme      => 1,
);
$build->create_build_script;