-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBuild.PL
28 lines (27 loc) · 1.01 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
use Module::Build;
my $build = Module::Build->new(
module_name => 'DBIx::Class::Result::Validation',
license => 'perl',
dist_author => 'Nicolas Oudard',
dist_version_from => 'lib/DBIx/Class/Result/Validation.pm',
dist_abstract => 'DBIx Class Result Validation',
requires => {
'DBIx::Class' => 0.08127,
'SQL::Translator' => 0.11007,
'Class::Accessor::Grouped' => 0.09008,
'Test::More' => 0,
'Carp' => 0,
'Try::Tiny' => 0,
'Moose' => 0,
},
build_requires => { 'Test::More' => 0, },
test_files => join( ' ', ( glob('t/*.t'), glob('t/*/*.t') ) ),
add_to_cleanup => [ '_build', 'Build', 'DBIx-Class-Result-Validation-*' ],
meta_merge => {
resources => {
repository =>
'https://github.com/kolok/DBIx-Class-Result-Validation'
}
},
);
$build->create_build_script;