putting the method modifiers in roles back in, we have to maintain backwards compat...
[gitmo/Moose.git] / Build.PL
1 use Module::Build;
2
3 use strict;
4
5 my $build = Module::Build->new(
6     module_name => 'Moose',
7     license => 'perl',
8     requires => {
9         'Scalar::Util'       => '1.18',
10         'Carp'               => '0',
11         'Class::MOP'         => '0.34',
12         'Sub::Name'          => '0.02',
13         'UNIVERSAL::require' => '0.10',
14         'Sub::Exporter'      => '0.954',
15         'Sub::Install'       => '0.92',   
16         'B'                  => '0',             
17     },
18     optional => {
19     },
20     build_requires => {
21         'Test::More'       => '0.62',
22         'Test::Exception'  => '0.21',
23         'Test::LongString' => '0',
24     },
25     create_makefile_pl => 'traditional',
26     recursive_test_files => 1,
27     add_to_cleanup => [
28         'META.yml', '*.bak', '*.gz', 'Makefile.PL',
29     ],
30 );
31
32 $build->create_build_script;
33