File: Build.PL

package info (click to toggle)
libtest-json-perl 0.11-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 88 kB
  • sloc: perl: 123; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use strict;
use Module::Build;

my $builder = Module::Build->new(
    module_name       => 'Test::JSON',
    license           => 'perl',
    dist_author       => 'Curtis "Ovid" Poe <ovid@cpan.org>',
    dist_version_from => 'lib/Test/JSON.pm',
    requires          => {
        'JSON::Any'         => 1.20,
        'Test::Differences' => 0.47,
        'Test::Simple'      => 0.62,
        'Test::Tester'      => 0.107,
    },
    add_to_cleanup     => ['Test-JSON-*'],
    create_makefile_pl => 'traditional',
);

$builder->create_build_script();