Commit | Line | Data |
399f3500 |
1 | # Load the Module::Install bundled in ./inc/ |
2 | use inc::Module::Install; |
3 | |
4 | # Define metadata |
5 | name 'MooseX-Storage'; |
6 | all_from 'lib/MooseX/Storage.pm'; |
7 | |
8 | # Specific dependencies |
4fa64e86 |
9 | requires 'Moose' => '0.38'; |
399f3500 |
10 | |
11 | # you should have at least one |
12 | # serialization format |
13 | feature 'JSON', |
14 | -default => 1, |
cfee09ad |
15 | 'JSON::Any' => '1.15', |
16 | 'Test::JSON' => '0.06'; |
399f3500 |
17 | |
18 | feature 'YAML', |
19 | -default => 1, |
20 | 'Best' => '0.1', |
21 | 'Test::YAML::Valid' => '0'; |
22 | |
23 | feature 'Storable', |
24 | -default => 1, |
25 | 'Storable' => '0'; |
26 | |
27 | # and the ability to save the |
28 | # file to disk |
29 | feature 'File', |
30 | -default => 1, |
31 | 'IO::File' => '0.1'; |
32 | |
cfee09ad |
33 | build_requires 'Test::More' => '0.42'; |
eaa26357 |
34 | build_requires 'Test::Deep' => '0'; |
cfee09ad |
35 | build_requires 'Test::Exception' => '0'; |
399f3500 |
36 | |
37 | no_index 'directory' => 'ex'; |
38 | |
39 | auto_install; |
40 | WriteAll; |