Merge branch 'metadata' into mooseish-types
[p5sagit/Function-Parameters.git] / Makefile.PL
index 1fd1cbe..8505863 100644 (file)
@@ -1,4 +1,6 @@
-use 5.014;
+#!perl
+# vi: set et sw=4 sts=4:
+use 5.006;
 use strict;
 use warnings;
 use ExtUtils::MakeMaker;
@@ -14,27 +16,30 @@ WriteMakefile(
     LICENSE => 'perl',
     PL_FILES => {},
     BUILD_REQUIRES => {
+        'strict' => 0,
         'Dir::Self' => 0,
         'Test::More' => 0,
+        'Test::Fatal' => 0,
     },
     PREREQ_PM => {
-       'Carp' => 0,
-       'XSLoader' => 0,
+        'Carp' => 0,
+        'Moo' => 0,
+        'XSLoader' => 0,
         'warnings' => 0,
-        'strict' => 0,
     },
     MIN_PERL_VERSION => '5.14.0',
     META_MERGE => {
-       'meta-spec' => { version => 2 },
-       resources => {
-               repository => {
-                       url => 'git://git.shadowcat.co.uk/p5sagit/Function-Parameters',
-                       web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Function-Parameters.git',
-                       type => 'git',
-               },
-       },
+        'meta-spec' => { version => 2 },
+        resources => {
+            repository => {
+                url => 'git://git.shadowcat.co.uk/p5sagit/Function-Parameters',
+                web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Function-Parameters.git',
+                type => 'git',
+            },
+        },
     },
     depend => { Makefile => '$(VERSION_FROM)' },
+    test => { TESTS => 't/*.t t/foreign/*.t t/foreign/*/*.t' },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean               => { FILES => 'Function-Parameters-*' },
 );