summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Etheridge <ether@cpan.org>2015-02-24 13:14:53 -0800
committerKaren Etheridge <ether@cpan.org>2015-02-24 13:15:24 -0800
commita8a4318a5a161d20d054e0c903400a74b03586af (patch)
tree85dd3d2aeea7e37fc2b7c1bc5e9bcb001a532601
parent937b2868067af7917b5d21b7fbf692fda70b5cbd (diff)
downloaduri-a8a4318a5a161d20d054e0c903400a74b03586af.tar.gz
dd an author test for MANIFEST/MANIFEST.SKIP consistency, and fix issues
-rw-r--r--MANIFEST1
-rw-r--r--MANIFEST.SKIP5
-rw-r--r--t/distmanifest.t9
3 files changed, 11 insertions, 4 deletions
diff --git a/MANIFEST b/MANIFEST
index cde4882..26b298a 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -58,6 +58,7 @@ t/abs.t
t/clone.t
t/cwd.t
t/data.t
+t/distmanifest.t
t/escape-char.t
t/escape.t
t/file.t
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index c393de3..fead1a7 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -5,16 +5,13 @@
^old/
^tgz/
^blib/
-\.old$
-\.bak$
Makefile$
^MANIFEST.SKIP$
^#
/#
-~$
\.git/
\.gitignore$
pm_to_blib$
^todo
^\.ackrc$
-^URI-
+^URI-\d
diff --git a/t/distmanifest.t b/t/distmanifest.t
new file mode 100644
index 0000000..572013c
--- /dev/null
+++ b/t/distmanifest.t
@@ -0,0 +1,9 @@
+use strict;
+use warnings;
+
+use Test::More;
+plan skip_all => 'these tests are for authors only!'
+ unless -d '.git' || $ENV{AUTHOR_TESTING};
+
+use Test::DistManifest;
+manifest_ok();