docblocks 229 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. #set -e
  3. bad_files=$(./admin/findphp | xargs -L 1 /usr/bin/env perl admin/docblocks.pl)
  4. if [ "$bad_files" ]
  5. then
  6. cat <<EOF 1>&2
  7. These files do not start with docblocks:
  8. $bad_files
  9. EOF
  10. exit 1
  11. fi