Commit | Line | Data |
5dac17c3 |
1 | use Module::Build; |
2 | |
3 | use strict; |
4 | |
5 | my $build = Module::Build->new( |
6 | module_name => 'MooseX::Getopt', |
7 | license => 'perl', |
8 | requires => { |
adbe3e57 |
9 | 'Moose' => '0.39', |
a4b6dc0b |
10 | 'Getopt::Long' => '2.34', |
5dac17c3 |
11 | }, |
12 | optional => { |
adbe3e57 |
13 | 'Getopt::Long::Descriptive' => 0, |
5dac17c3 |
14 | }, |
15 | build_requires => { |
16 | 'Test::More' => '0.62', |
17 | 'Test::Exception' => '0.21', |
18 | }, |
19 | create_makefile_pl => 'traditional', |
20 | recursive_test_files => 1, |
21 | add_to_cleanup => [ |
22 | 'META.yml', '*.bak', '*.gz', 'Makefile.PL', |
23 | ], |
24 | ); |
25 | |
26 | $build->create_build_script; |
27 | |