File: Build.PL

package info (click to toggle)
libmodule-bundled-files-perl 0.03-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 168 kB
  • sloc: perl: 301; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 626 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
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name         => 'Module::Bundled::Files',
    license             => 'perl',
    dist_author         => 'Paul Campbell <kemitix@gmail.com>',
    dist_version_from   => 'lib/Module/Bundled/Files.pm',
    requires => {
        'Module::Build'
                     => 0.26, # add_build_element() appears in 0.2607
        'Test::More' => 0,
        'File::Spec' => 0,
        'Class::ISA'  => 0,
    },
    create_makefile_pl => 'traditional',
    add_to_cleanup      => [ 'Module-Bundled-Files-*' ],
);

$builder->create_build_script();