better way to include extra files
Karen Etheridge [Thu, 13 Aug 2015 03:44:01 +0000 (20:44 -0700)]
.gitignore
MANIFEST.SKIP [deleted file]
maint/Makefile.PL.include

index e454131..3c903d7 100644 (file)
@@ -4,6 +4,7 @@
 /Makefile.old
 /MANIFEST
 /MANIFEST.bak
+/MANIFEST.SKIP
 /blib/
 /pm_to_blib
 /_eumm/
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
deleted file mode 100644 (file)
index 7514d45..0000000
+++ /dev/null
@@ -1 +0,0 @@
-^(?!lib/.*\.pm$|lib/.*\.pod$|t/.*\.t$|t/lib/|t/root/|xt/.*\.t$|xt/lib/.*\.pm$|(?^:[^/]*\.PL)$|(?^:Changes|MANIFEST|README|LICENSE|META\.yml)$|maint/(?^:[^.].*)$)
index 806efe7..fdb2ef9 100644 (file)
@@ -1,5 +1,14 @@
+use strict;
+use warnings;
 BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") }
 use lib 'Distar/lib';
 use Distar;
 
+manifest_include(
+    't/lib' => '.tt',
+    't/lib' => 'test',
+    't/root' => 'heart',
+);
+
 1;
+# vim: set ft=perl ts=8 sts=4 sw=4 tw=115 et :