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