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