# Load the Module::Install bundled in ./inc/
use inc::Module::Install 0.75;
+use Module::Install::AuthorRequires;
+use Module::Install::AuthorTests;
# Define metadata
name 'MooseX-Storage';
-default => 1,
'IO::File' => '0.1';
+author_tests 't/author';
+
build_requires 'Test::More' => '0.42';
build_requires 'Test::Deep' => '0';
build_requires 'Test::Exception' => '0';
build_requires 'Test::TempDir' => '0.02';
+author_requires 'Test::Pod' => '1.14';
+author_requires 'Test::Pod::Coverage' => '1.08';
+
resources repository => 'git://git.moose.perl.org/gitmo/MooseX-Storage.git';
auto_install;
--- /dev/null
+#!perl
+use Test::More;
+
+use Test::Pod::Coverage 1.08;
+
+my @modules = grep { ! /::Traits?::/ } all_modules();
+
+plan tests => scalar(@modules);
+
+foreach my $module (@modules) {
+ pod_coverage_ok($module);
+}
+
--- /dev/null
+#!perl
+
+use Test::More;
+use Test::Pod 1.14;
+all_pod_files_ok();
+++ /dev/null
-#!perl
-use Test::More;
-
-plan skip_all => "set env var RELEASE_TESTING=1 to run these"
- unless $ENV{RELEASE_TESTING};
-
-eval "use Test::Pod::Coverage 1.08";
-warn $@ if $@;
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-
-my @modules = grep { ! /::Traits?::/ } all_modules();
-
-plan tests => scalar(@modules);
-
-foreach my $module (@modules) {
- pod_coverage_ok($module);
-}
-
+++ /dev/null
-#!perl
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "set env var RELEASE_TESTING=1 to run these"
- unless $ENV{RELEASE_TESTING};
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();