File: Build.PL

package info (click to toggle)
libcatalyst-view-gd-perl 0.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 116 kB
  • ctags: 7
  • sloc: perl: 128; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 588 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
27
use Module::Build;

use strict;

my $build = Module::Build->new(
    module_name => 'Catalyst::View::GD',
    license => 'perl',
    requires => {   
        'Catalyst::Runtime' => '0',
        'GD'                => '0',
    },
    optional => {
    },
    build_requires => {
        'Test::More'       => '0.62',
        'Test::Exception'  => '0.21',
        'Test::Image::GD'  => '0.03',
    },
    create_makefile_pl => 'traditional',
    recursive_test_files => 1,
    add_to_cleanup => [
        'META.yml', '*.bak', '*.gz', 'Makefile.PL',
    ],
);

$build->create_build_script;