File: Build.PL

package info (click to toggle)
libexcel-template-plus-perl 0.06-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 120 kB
  • sloc: perl: 200; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (2)
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
use Module::Build;

use strict;
use warnings;

my $build = Module::Build->new(
    module_name => 'Excel::Template::Plus',
    license => 'perl',
    requires => {
        'Excel::Template'         => '0',
        'Template'                => '0',
        'IO::String'              => '0',
        'Moose'                   => '0.18',           
        'MooseX::Param'           => '0.01',                   
        'Module::Runtime'         => '0',
        # for Test::Excel::Template::Plus
        'Test::Deep'              => '0',
        'Spreadsheet::ParseExcel' => '0',                     
    },
    optional => {
    },
    build_requires => {
        'Test::More'      => '0.47',
        'Test::Exception' => '0.21',
        'File::Spec'      => '0',
        'FindBin'         => '0',
    },
    create_makefile_pl => 'traditional',
    recursive_test_files => 1,
    add_to_cleanup => [
        'META.yml', '*.bak', '*.gz', 'Makefile.PL',
    ],
);

$build->create_build_script;