summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scheibe <rene.scheibe@gmail.com>2015-06-04 12:31:33 +0200
committerRené Scheibe <rene.scheibe@gmail.com>2015-06-04 17:44:13 +0200
commit580fb4848cbcce37dffe64f2566cdbfbbf00f2d2 (patch)
treedbd0a5752fc02aedbd0a0f894d0325447984d926
parent926271a6bcf456c4d7b00acbc65bc7260a49eff4 (diff)
downloadninka-580fb4848cbcce37dffe64f2566cdbfbbf00f2d2.tar.gz
test that documentation uses valid syntax
* POD - Plain Old Documentation (the documentation format used by Perl)
-rw-r--r--MANIFEST1
-rw-r--r--Makefile.PL1
-rw-r--r--t/pod_ok.t5
3 files changed, 7 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 6f51dd9..938e912 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -216,5 +216,6 @@ t/data/licenses/OSL-2.1
t/data/licenses/OSL-3.0
t/data/licenses/PRESERVE_COPYRIGHT_NOTICE
t/data/licenses/Public-domain
+t/pod_ok.t
t/reference_licenses.t
t/syntax_ok_and_use_strict.t
diff --git a/Makefile.PL b/Makefile.PL
index 20ea9fd..790ea55 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -30,6 +30,7 @@ WriteMakefile(
TEST_REQUIRES => {
'File::Temp' => '0',
'Test::More' => '0.98',
+ 'Test::Pod' => '1.00',
'Test::Strict' => '0',
},
META_MERGE => {
diff --git a/t/pod_ok.t b/t/pod_ok.t
new file mode 100644
index 0000000..57b423a
--- /dev/null
+++ b/t/pod_ok.t
@@ -0,0 +1,5 @@
+use strict;
+use warnings;
+use Test::Pod;
+
+all_pod_files_ok();