forked from csjewell/MooseX-Error-Exception-Class
/
Build.PL
35 lines (33 loc) · 1.09 KB
/
Build.PL
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
use strict;
use warnings;
use Module::Build 0.33;
my $builder = Module::Build->new(
module_name => 'MooseX::Error::Exception::Class',
license => 'perl',
dist_author => 'Curtis Jewell <csjewell@cpan.org>',
dist_version_from => 'lib/MooseX/Error/Exception/Class.pm',
create_license => 1,
create_readme => 1,
create_makefile_pl => 'passthrough',
configure_requires => {
'Module::Build' => 0.33,
},
requires => {
'perl' => 5.008001,
'Moose' => 0.88,
'Exception::Class' => 1.29,
},
build_requires => {
'Test::More' => 0.61,
},
add_to_cleanup => [ 'MooseX-Error-Exception-Class-*' ],
meta_merge => {
resources => {
homepage => 'http://csjewell.comyr.com/perl/',
bugtracker =>
'http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Error-Exception-Class',
repository => 'git://github.com/csjewell/MooseX-Error-Exception-Class.git'
},
},
);
$builder->create_build_script();