Commit | Line | Data |
bdd612ce |
1 | use Module::Build; |
2 | |
3 | use strict; |
3dc99d93 |
4 | use warnings; |
bdd612ce |
5 | |
6 | my $build = Module::Build->new( |
7 | module_name => 'Class::MOP', |
8 | license => 'perl', |
9 | requires => { |
a740253a |
10 | 'Scalar::Util' => '1.18', |
bdd612ce |
11 | 'Sub::Name' => '0.02', |
a549ce50 |
12 | 'Carp' => '0', |
d89c0fad |
13 | 'B' => '0', |
bdd612ce |
14 | }, |
d41e86f2 |
15 | optional => {}, |
bdd612ce |
16 | build_requires => { |
3c1c6c7d |
17 | 'Test::More' => '0.62', |
bdd612ce |
18 | 'Test::Exception' => '0.21', |
a740253a |
19 | 'File::Spec' => '0', |
bdd612ce |
20 | }, |
21 | create_makefile_pl => 'traditional', |
22 | recursive_test_files => 1, |
23 | add_to_cleanup => [ |
24 | 'META.yml', '*.bak', '*.gz', 'Makefile.PL', |
25 | ], |
26 | ); |
27 | |
28 | $build->create_build_script; |
29 | |