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 | |
18 | feature 'JSON', | |
19 | -default => 1, | |
cfee09ad | 20 | 'JSON::Any' => '1.15', |
21 | 'Test::JSON' => '0.06'; | |
ba17e629 | 22 | author_requires 'JSON::Any' => '1.15'; |
23 | author_requires 'Test::JSON' => '0.06'; | |
399f3500 | 24 | |
25 | feature 'YAML', | |
26 | -default => 1, | |
f16b5740 | 27 | 'YAML::Any' => '0'; |
ba17e629 | 28 | author_requires 'YAML::Any'; |
399f3500 | 29 | |
30 | feature 'Storable', | |
31 | -default => 1, | |
32 | 'Storable' => '0'; | |
ba17e629 | 33 | author_requires 'Storable'; |
399f3500 | 34 | |
35 | # and the ability to save the | |
36 | # file to disk | |
37 | feature 'File', | |
38 | -default => 1, | |
39 | 'IO::File' => '0.1'; | |
ba17e629 | 40 | author_requires 'IO::File' => '0.1'; |
399f3500 | 41 | |
f3cef250 | 42 | author_tests 't/author'; |
43 | ||
049541bd | 44 | build_requires 'Test::More' => '0.88'; |
eaa26357 | 45 | build_requires 'Test::Deep' => '0'; |
cfee09ad | 46 | build_requires 'Test::Exception' => '0'; |
cfd008fa | 47 | build_requires 'Test::TempDir' => '0.02'; |
0b173188 | 48 | build_requires 'Test::Requires' => '0.05'; |
399f3500 | 49 | |
f3cef250 | 50 | author_requires 'Test::Pod' => '1.14'; |
51 | author_requires 'Test::Pod::Coverage' => '1.08'; | |
52 | ||
c557e792 | 53 | resources repository => 'git://git.moose.perl.org/MooseX-Storage.git'; |
00c90522 | 54 | |
399f3500 | 55 | WriteAll; |
00c90522 | 56 |