packing
|
1 |
use strict; |
2 |
use warnings; |
|
3 |
use Module::Build; |
|
4 | ||
5 |
my $builder = Module::Build->new( |
|
6 |
module_name => 'DBIx::Custom::Basic', |
|
7 |
license => 'perl', |
|
8 |
dist_author => 'Yuki Kimoto <kimoto.yuki@gmail.com>', |
|
9 |
dist_version_from => 'lib/DBIx/Custom/Basic.pm', |
|
10 |
build_requires => { |
|
11 |
'Test::More' => 0, |
|
12 |
}, |
|
13 |
requires => { |
|
filter argument exchange key...
|
14 |
'Encode' => 0, |
packing
|
15 |
'DBIx::Custom' => 0.0101 |
16 |
}, |
|
17 |
recommends => { |
|
18 |
'Time::Piece' => 1.15 |
|
19 |
}, |
|
20 |
add_to_cleanup => [ 'DBIx-Custom-Basic-*' ], |
|
21 |
create_makefile_pl => 'traditional', |
|
22 |
); |
|
23 | ||
24 |
$builder->create_build_script(); |