Inside out class example, and many other tweaks
[gitmo/Class-MOP.git] / Build.PL
1 use Module::Build;
2
3 use 5.6.0;
4
5 use strict;
6 use warnings;
7
8 my $build = Module::Build->new(
9     module_name => 'Class::MOP',
10     license => 'perl',
11     requires => {
12         'perl'         => '5.6.0',
13         'Scalar::Util' => '1.17',
14         'Sub::Name'    => '0.02',
15         'Carp'         => '0.01',
16         'B'            => '0',        
17     },
18     optional => {
19     },
20     build_requires => {
21         'Test::More'      => '0.47',
22         'Test::Exception' => '0.21',
23     },
24     create_makefile_pl => 'traditional',
25     recursive_test_files => 1,
26     add_to_cleanup => [
27         'META.yml', '*.bak', '*.gz', 'Makefile.PL',
28     ],
29 );
30
31 $build->create_build_script;