adding in tests
[gitmo/Class-MOP.git] / Build.PL
1 use Module::Build;
2
3 use strict;
4
5 my $build = Module::Build->new(
6     module_name => 'Class::MOP',
7     license => 'perl',
8     requires => {
9         'Scalar::Util' => '1.18',
10         'Sub::Name'    => '0.02',
11         'Carp'         => '0.01',
12         'B'            => '1.09',
13         'B::Deparse'   => '0.70',
14         'Clone'        => '0.18',
15         'SUPER'        => '1.11',
16     },
17     optional => {
18     },
19     build_requires => {
20         'Test::More'      => '0.47',
21         'Test::Exception' => '0.21',
22         'File::Spec'      => '0',
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;
32