run-manpage-checks.sh 244 B

12345678910111213141516
  1. #!/bin/sh
  2. # Move to top-level cdist-contrib directory.
  3. cd $(dirname $0)/..
  4. # Check that each type has a man page.
  5. status=0
  6. for t in type/*; do
  7. if [ ! -f "$t/man.rst" ]; then
  8. echo "No manpage for type $t!"
  9. status=1
  10. fi
  11. done
  12. exit $status