break out most of the code to ::PurePerl
[gitmo/Class-C3.git] / Build.PL
1 use Module::Build;
2
3 use strict;
4
5 my $build = Module::Build->new(
6     module_name => 'Class::C3',
7     license => 'perl',
8     requires => {
9         'Scalar::Util'    => 1.10,
10         'Algorithm::C3'   => 0.06,
11     },
12     optional => {},
13     build_requires => {
14         'Test::More' => '0.47',
15         'Test::Exception' => 0.15,
16     },
17     create_makefile_pl => 'traditional',
18     recursive_test_files => 1,
19     add_to_cleanup => [
20         'META.yml', '*.bak', '*.gz', 'Makefile.PL',
21     ],
22 );
23
24 $build->create_build_script;
25