File: Build.PL

package info (click to toggle)
libobject-container-perl 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 220 kB
  • sloc: perl: 221; makefile: 5
file content (24 lines) | stat: -r--r--r-- 825 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
use strict;
use warnings;
use Module::Build::Pluggable qw/CPANfile/;

my $builder = Module::Build::Pluggable->new(
    name                => 'Object-Container',
    module_name         => 'Object::Container',
    dist_version_from   => 'lib/Object/Container.pm',
    add_to_cleanup      => [ 'Object-Container-*' ],
    no_index => {
        directory => [ 't', 'xt', 'share' ],
    },
    meta_merge     => {
      resources => {
        repository  => 'https://github.com/typester/object-container-perl/',
        bugtracker  => 'https://github.com/typester/object-container-perl/issues',
      }
    },
    recursive_test_files => 1,
    test_files => (-d '.git' || $ENV{RELEASE_TESTING}) ? ['t/', 'xt/'] : ['t/'],
    create_license => 0, # https://metacpan.org/pod/Software::License
);

$builder->create_build_script();