summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/codingstyle.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/codingstyle.sh b/scripts/codingstyle.sh
index 0ed5fb17..bb3add49 100755
--- a/scripts/codingstyle.sh
+++ b/scripts/codingstyle.sh
@@ -29,6 +29,7 @@ cd $PWD
cd ..
cd src
+echo "Applying astyle rules..."
astyle \
--indent=spaces=4 \
--brackets=break \
@@ -40,3 +41,8 @@ astyle \
--indent-preprocessor \
`find -type f -name '*.cpp'` `find -type f -name '*.h'`
+echo "Removing .orig files..."
+rm *.orig
+
+echo "Done!"
+