cp2k/tools/docker/scripts/test_doxygen.sh
2021-02-18 00:33:20 +01:00

21 lines
435 B
Bash
Executable file

#!/bin/bash -e
# author: Ole Schuett
echo -e "\n========== Generating Doxygen =========="
cd /workspace/cp2k
if ! make doxygen &> make.out; then
echo -e "failed.\n\n"
tail -n 100 make.out
echo -e "\nSummary: Doxygen generation failed."
echo -e "Status: FAILED\n"
exit 0
fi
mkdir -p /workspace/artifacts
mv ./doxygen/html /workspace/artifacts/doxygen
echo "Summary: Doxygen generation works fine."
echo "Status: OK"
#EOF