Commit | Line | Data |
399f3500 |
1 | # Load the Module::Install bundled in ./inc/ |
7ce0b877 |
2 | use inc::Module::Install 0.75; |
f3cef250 |
3 | use Module::Install::AuthorRequires; |
4 | use Module::Install::AuthorTests; |
399f3500 |
5 | |
6 | # Define metadata |
7 | name 'MooseX-Storage'; |
8 | all_from 'lib/MooseX/Storage.pm'; |
9 | |
10 | # Specific dependencies |
a908e25b |
11 | requires 'Moose' => '0.87'; |
25697231 |
12 | requires 'String::RewritePrefix'; |
399f3500 |
13 | |
14 | # you should have at least one |
15 | # serialization format |
16 | feature 'JSON', |
17 | -default => 1, |
cfee09ad |
18 | 'JSON::Any' => '1.15', |
19 | 'Test::JSON' => '0.06'; |
399f3500 |
20 | |
21 | feature 'YAML', |
22 | -default => 1, |
23 | 'Best' => '0.1', |
24 | 'Test::YAML::Valid' => '0'; |
25 | |
26 | feature 'Storable', |
27 | -default => 1, |
28 | 'Storable' => '0'; |
29 | |
30 | # and the ability to save the |
31 | # file to disk |
32 | feature 'File', |
33 | -default => 1, |
34 | 'IO::File' => '0.1'; |
35 | |
f3cef250 |
36 | author_tests 't/author'; |
37 | |
cfee09ad |
38 | build_requires 'Test::More' => '0.42'; |
eaa26357 |
39 | build_requires 'Test::Deep' => '0'; |
cfee09ad |
40 | build_requires 'Test::Exception' => '0'; |
cfd008fa |
41 | build_requires 'Test::TempDir' => '0.02'; |
399f3500 |
42 | |
f3cef250 |
43 | author_requires 'Test::Pod' => '1.14'; |
44 | author_requires 'Test::Pod::Coverage' => '1.08'; |
45 | |
00c90522 |
46 | resources repository => 'git://git.moose.perl.org/gitmo/MooseX-Storage.git'; |
47 | |
7ce0b877 |
48 | auto_install; |
399f3500 |
49 | WriteAll; |
00c90522 |
50 | |