summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/documentation7
-rwxr-xr-xtest/main2
2 files changed, 9 insertions, 0 deletions
diff --git a/test/documentation b/test/documentation
new file mode 100644
index 0000000..61bffa0
--- /dev/null
+++ b/test/documentation
@@ -0,0 +1,7 @@
+## vim:ft=zsh
+alias podchecker='podchecker -warnings -warnings'
+echo "# Documentation"
+podchecker bin/checklinks
+for file in man/*/*; {
+ podchecker $file
+}
diff --git a/test/main b/test/main
index 56e6e8d..c572fbc 100755
--- a/test/main
+++ b/test/main
@@ -4,6 +4,8 @@ setopt err_exit
trap "print -P '\n%N:%i: %B%F{red}Test faild!%F{default}%b'" ZERR
+source test/documentation
+
function stringcmp {
diff -u <(echo $1) <(echo $2)
}