File: check-doxygen

package info (click to toggle)
libcaca 0.99.beta19-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,436 kB
  • sloc: ansic: 22,372; python: 2,316; cs: 1,213; cpp: 1,125; java: 916; objc: 836; makefile: 606; sh: 457; ruby: 193; asm: 65
file content (18 lines) | stat: -rwxr-xr-x 357 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

#
# Check for Doxygen warnings
#
nfiles="$(grep -c "Parsing file" < ../doc/doxygen.log)"
if nfails="$(grep -c Warning: ../doc/doxygen.log 2>/dev/null)"; then
  grep Warning: ../doc/doxygen.log | sed 's/\(.\{75\}\)...*/\1 .../'
fi

echo "$nfiles files, $nfails visible errors in documentation"

if test "$nfails" != "0"; then
  exit 1
fi

exit 0