Inside out class example, and many other tweaks
[gitmo/Class-MOP.git] / Build.PL
CommitLineData
59e7697f 1use Module::Build;
2
3use 5.6.0;
4
5use strict;
6use warnings;
7
8my $build = Module::Build->new(
9 module_name => 'Class::MOP',
10 license => 'perl',
11 requires => {
7c90a1a8 12 'perl' => '5.6.0',
13 'Scalar::Util' => '1.17',
14 'Sub::Name' => '0.02',
15 'Carp' => '0.01',
16 'B' => '0',
59e7697f 17 },
18 optional => {
19 },
20 build_requires => {
21 'Test::More' => '0.47',
7c90a1a8 22 'Test::Exception' => '0.21',
59e7697f 23 },
24 create_makefile_pl => 'traditional',
25 recursive_test_files => 1,
26 add_to_cleanup => [
27 'META.yml', '*.bak', '*.gz', 'Makefile.PL',
28 ],
29);
30
31$build->create_build_script;