mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 21:00:37 +02:00
Renamed release.sh and added Merge Prep Script
This commit is contained in:
27
releaseprep.sh
Executable file
27
releaseprep.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
# Discarding local changes
|
||||
echo "This will discard all your uncommited changes and restore the last commit. Continue?"
|
||||
read
|
||||
git reset --hard
|
||||
# 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
|
||||
echo "Running unit tests..."
|
||||
|
||||
echo "Finished unit testing."
|
||||
# Remove Overhead Folders/ Files
|
||||
echo "Cleaning directory..."
|
||||
rm -r src/build-*
|
||||
rm -r build-*/
|
||||
rm -r Examples/
|
||||
rm src/*.pro.user
|
||||
echo "Directory cleaned."
|
||||
# Run Doxygen
|
||||
echo "Running Doxygen..."
|
||||
doxygen conf/intelliphoto_dox
|
||||
echo "Doxygen finished."
|
||||
Reference in New Issue
Block a user