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', |
5e030bec |
11 | 'Class::MOP' => '0.22', |
7f18097c |
12 | 'Sub::Name' => '0.02', |
13 | 'UNIVERSAL::require' => '0' |
fcd84ca9 |
14 | }, |
15 | optional => { |
16 | }, |
17 | build_requires => { |
18 | 'Test::More' => '0.47', |
19 | 'Test::Exception' => '0.21', |
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 | |