You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 line
357 B

  1. #!/bin/sh
  2. #
  3. # Check for Doxygen warnings
  4. #
  5. nfiles="$(grep -c "Parsing file" < ../doc/doxygen.log)"
  6. if nfails="$(grep -c Warning: ../doc/doxygen.log 2>/dev/null)"; then
  7. grep Warning: ../doc/doxygen.log | sed 's/\(.\{75\}\)...*/\1 .../'
  8. fi
  9. echo "$nfiles files, $nfails visible errors in documentation"
  10. if test "$nfails" != "0"; then
  11. exit 1
  12. fi
  13. exit 0