mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 04:40:37 +02:00
Updated Colors
This commit is contained in:
@@ -1,30 +1,30 @@
|
|||||||
# Discarding local changes
|
# Discarding local changes
|
||||||
echo "\033[0;33mThis will discard all your uncommited changes and restore the last commit. Continue?"
|
echo "\033[0;33mThis will discard all your uncommited changes and restore the last commit. Continue?\033[0m"
|
||||||
read
|
read
|
||||||
git reset --hard
|
git reset --hard
|
||||||
# Run CPP Check
|
# Run CPP Check
|
||||||
echo "Running CPPCheck..."
|
echo "Running CPPCheck..."
|
||||||
cppcheck --enable=all --output-file=cppcheck_errors.txt src/
|
cppcheck --enable=all --output-file=cppcheck_errors.txt src/
|
||||||
cppcheck --check-config --output-file=cppcheck_config.txt src/
|
cppcheck --check-config --output-file=cppcheck_config.txt src/
|
||||||
echo "\033[0;32mCPPCheck finished"
|
echo "\033[0;32mCPPCheck finished\033[0m"
|
||||||
# Uncrustify Files
|
# Uncrustify Files
|
||||||
echo "Running Uncrustify..."
|
echo "Running Uncrustify..."
|
||||||
find . \( -name "*.cpp" -o -name "*.c" -o -name "*.h" \) -exec uncrustify -c conf/uncrustify.cfg --no-backup {} +
|
find . \( -name "*.cpp" -o -name "*.c" -o -name "*.h" \) -exec uncrustify -c conf/uncrustify.cfg --no-backup {} +
|
||||||
echo "\033[0;32mUncrustify finished."
|
echo "\033[0;32mUncrustify finished.\033[0m"
|
||||||
# Remove Overhead Folders/ Files
|
# Remove Overhead Folders/ Files
|
||||||
echo "Cleaning directory..."
|
echo "Cleaning directory..."
|
||||||
rm -r src/build-*
|
rm -r src/build-*
|
||||||
rm -r build-*/
|
rm -r build-*/
|
||||||
rm -r Examples/
|
rm -r Examples/
|
||||||
rm src/*.pro.user
|
rm src/*.pro.user
|
||||||
echo "\033[0;32mDirectory cleaned."
|
echo "\033[0;32mDirectory cleaned.\033[0m"
|
||||||
# Run Doxygen
|
# Run Doxygen
|
||||||
echo "Running Doxygen..."
|
echo "Running Doxygen..."
|
||||||
doxygen conf/intelliphoto_dox
|
doxygen conf/intelliphoto_dox
|
||||||
echo "\033[0;32mDoxygen finished."
|
echo "\033[0;32mDoxygen finished.\033[0m"
|
||||||
# Adding changes to git
|
# Adding changes to git
|
||||||
echo "Committing Changes to Git..."
|
echo "Committing Changes to Git..."
|
||||||
git add '*'
|
git add '*'
|
||||||
git commit -m "Automated Release Preparation"
|
git commit -m "Automated Release Preparation"
|
||||||
echo "\033[0;32mCommitted."
|
echo "\033[0;32mCommitted.\033[0m"
|
||||||
echo "\033[0;32mFinished."
|
echo "\033[0;32mFinished.\033[0m"
|
||||||
|
|||||||
Reference in New Issue
Block a user