mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 06:05:29 -04:00
doxify: Abort in case of problems
svn-origin-rev: 15510
This commit is contained in:
parent
23c59a97a5
commit
80018b8907
1 changed files with 8 additions and 0 deletions
|
|
@ -29,6 +29,14 @@ for file in "$@"; do
|
|||
# Remove temp-files
|
||||
rm -f $tmp_file1 $tmp_file2 $tmp_file3
|
||||
|
||||
if grep -e "UNMATCHED_PROCEDURE_ARGUMENT" \
|
||||
-e "UNKNOWN_DOXYGEN_COMMENT" \
|
||||
-e "UNKNOWN_COMMENT" \
|
||||
$file ; then
|
||||
echo "Found doxify warnings in $file"
|
||||
exit 42
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
#EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue