Commit | Line | Data |
fcd84ca9 |
1 | use Module::Build; |
2 | |
3 | use strict; |
4 | |
5 | my $build = Module::Build->new( |
6 | module_name => 'Moose', |
7 | license => 'perl', |
8 | requires => { |
7f18097c |
9 | 'Scalar::Util' => '1.18', |
10 | 'Carp' => '0', |
72c4f6d1 |
11 | 'Class::MOP' => '0.29_01', |
7f18097c |
12 | 'Sub::Name' => '0.02', |
2c41b1b3 |
13 | 'UNIVERSAL::require' => '0.10', |
72c4f6d1 |
14 | 'Sub::Exporter' => '0.954', |
15 | 'Sub::Install' => '0.92', |
fcd84ca9 |
16 | }, |
17 | optional => { |
18 | }, |
19 | build_requires => { |
20 | 'Test::More' => '0.47', |
21 | 'Test::Exception' => '0.21', |
22 | }, |
23 | create_makefile_pl => 'traditional', |
24 | recursive_test_files => 1, |
25 | add_to_cleanup => [ |
26 | 'META.yml', '*.bak', '*.gz', 'Makefile.PL', |
27 | ], |
28 | ); |
29 | |
30 | $build->create_build_script; |
31 | |