Fix number of tests without Digest::HMA which was causing the CPANTS failures
[gitmo/MooseX-Storage.git] / Build.PL
1
2 use strict;
3 use warnings;
4
5 use Module::Build;
6
7 my $build = Module::Build->new(
8     module_name => 'MooseX::Storage',
9     license => 'perl',
10     requires => {   
11         'Moose'        => '0.20',
12         # you should have at least one 
13         # serialization format
14         'JSON::Any'    => '0',
15         'Best'         => '0', # << this if for loading YAML
16         # and the ability to save the 
17         # file to disk        
18         'IO::File'     => '0',    
19     },
20     optional => {
21         'IO::AtomicFile'    => '0',  
22         # these are only used in the 
23         # test, I recommend them, but 
24         # there is no need to force 
25         # them on people :)
26         'Test::YAML::Valid' => '0',
27         'Test::JSON'        => '0',        
28         # this if for the basic role with checksum
29         'Digest'            => '0', 
30         'Digest::SHA1'      => '0',    
31         'Data::Dumper'      => '0',        
32     },
33     build_requires => {
34         'Test::More'       => '0.62',
35         'Test::Exception'  => '0.21',
36         'Test::Deep'       => '0',        
37     },
38     create_makefile_pl => 'traditional',
39     recursive_test_files => 1,
40     add_to_cleanup => [
41         'META.yml', '*.bak', '*.gz', 'Makefile.PL',
42     ],
43 );
44
45 $build->create_build_script;
46