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 | ||
0c8aa617 | 10 | perl_version '5.008'; |
11 | ||
399f3500 | 12 | # Specific dependencies |
d7ef03f6 | 13 | requires 'Moose' => '0.99'; |
25697231 | 14 | requires 'String::RewritePrefix'; |
399f3500 | 15 | |
ba17e629 | 16 | author_requires 'Test::Without::Module'; |
17 | ||
399f3500 | 18 | # you should have at least one |
19 | # serialization format | |
9566cef2 | 20 | auto_install; # Needed for features to work. RT#67170 |
399f3500 | 21 | feature 'JSON', |
22 | -default => 1, | |
cfee09ad | 23 | 'JSON::Any' => '1.15', |
24 | 'Test::JSON' => '0.06'; | |
9566cef2 | 25 | |
ba17e629 | 26 | author_requires 'JSON::Any' => '1.15'; |
27 | author_requires 'Test::JSON' => '0.06'; | |
399f3500 | 28 | |
29 | feature 'YAML', | |
30 | -default => 1, | |
f16b5740 | 31 | 'YAML::Any' => '0'; |
ba17e629 | 32 | author_requires 'YAML::Any'; |
399f3500 | 33 | |
34 | feature 'Storable', | |
35 | -default => 1, | |
36 | 'Storable' => '0'; | |
ba17e629 | 37 | author_requires 'Storable'; |
399f3500 | 38 | |
39 | # and the ability to save the | |
40 | # file to disk | |
41 | feature 'File', | |
42 | -default => 1, | |
43 | 'IO::File' => '0.1'; | |
ba17e629 | 44 | author_requires 'IO::File' => '0.1'; |
399f3500 | 45 | |
f3cef250 | 46 | author_tests 't/author'; |
47 | ||
049541bd | 48 | build_requires 'Test::More' => '0.88'; |
eaa26357 | 49 | build_requires 'Test::Deep' => '0'; |
9d3c60f5 | 50 | build_requires 'Test::Fatal' => '0'; |
0b173188 | 51 | build_requires 'Test::Requires' => '0.05'; |
399f3500 | 52 | |
bc3a07d5 | 53 | author_requires 'Digest::HMAC'; |
54 | author_requires 'Digest::SHA'; | |
f3cef250 | 55 | author_requires 'Test::Pod' => '1.14'; |
56 | author_requires 'Test::Pod::Coverage' => '1.08'; | |
57 | ||
b47a0bbd | 58 | # r/w: gitmo@git.moose.perl.org:MooseX-Storage.git |
c557e792 | 59 | resources repository => 'git://git.moose.perl.org/MooseX-Storage.git'; |
00c90522 | 60 | |
399f3500 | 61 | WriteAll; |
00c90522 | 62 |