mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-12 19:40:28 +02:00
22 lines
596 B
Bash
22 lines
596 B
Bash
# Run CPP Check
|
|
echo "Running CPPCheck..."
|
|
cppcheck --enable=all --output-file=cppcheck_errors.txt src/
|
|
echo "CPPCheck finished"
|
|
# Uncrustify Files
|
|
echo "Running Uncrustify..."
|
|
find . \( -name "*.cpp" -o -name "*.c" -o -name "*.h" \) -exec uncrustify -c conf/uncrustify.cfg --no-backup {}
|
|
echo "Uncrustify finished."
|
|
# Run Unit Tests
|
|
|
|
# Remove Overhead Folders/ Files
|
|
echo "Cleaning directory..."
|
|
rm -r src/build-*
|
|
rm -r build-*/
|
|
rm -r Examples/
|
|
rm src/IntelliPhoto.pro.user
|
|
echo "Directory cleaned."
|
|
# Run Doxygen
|
|
echo "Running Doxygen..."
|
|
doxygen conf/intelliphoto_dox
|
|
echo "Doxygen finished."
|