File: Build.PL

package info (click to toggle)
libtest-consistentversion-perl 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 180 kB
  • ctags: 13
  • sloc: perl: 165; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 710 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
23
24
25
26
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'Test::ConsistentVersion',
    license             => 'perl',
    dist_author         => 'Glenn Fowler <cebjyre@cpan.org>',
    dist_version_from   => 'lib/Test/ConsistentVersion.pm',
    requires => {
        'Test::Builder' => 0.94,
        'version'       => 0,
        'autodie'       => 0,
    },
    recommends => {
        'Test::Pod::Content'    => 0,
    },
    meta_merge => {
        resources => {
            repository  => 'http://github.com/cebjyre/Test-ConsistentVersion',
        },
    },
    add_to_cleanup      => [ 'Test-ConsistentVersion-*' ],
);

$builder->create_build_script();