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