wesnoth/utils/CI/doxygen-check.sh
2020-12-31 23:59:28 -06:00

13 lines
249 B
Bash
Executable File

#!/bin/bash
doxygen Doxyfile > doxy-output.txt 2>&1
LINES=`cat doxy-output.txt | wc -l`
if [ "$LINES" == "0" ]; then
echo "No doxygen errors or warnings!"
else
echo "Found doxygen errors or warnings!"
cat doxy-output.txt
exit 1
fi