Commit | Line | Data |
bdd612ce |
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 => { |
a740253a |
9 | 'Scalar::Util' => '1.18', |
bdd612ce |
10 | 'Sub::Name' => '0.02', |
a549ce50 |
11 | 'Carp' => '0', |
d89c0fad |
12 | 'B' => '0', |
bdd612ce |
13 | }, |
d41e86f2 |
14 | optional => {}, |
bdd612ce |
15 | build_requires => { |
3c1c6c7d |
16 | 'Test::More' => '0.62', |
bdd612ce |
17 | 'Test::Exception' => '0.21', |
a740253a |
18 | 'File::Spec' => '0', |
bdd612ce |
19 | }, |
20 | create_makefile_pl => 'traditional', |
21 | recursive_test_files => 1, |
22 | add_to_cleanup => [ |
23 | 'META.yml', '*.bak', '*.gz', 'Makefile.PL', |
24 | ], |
25 | ); |
26 | |
27 | $build->create_build_script; |
28 | |