summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-29 11:24:11 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-29 11:24:11 +0200
commit82862fbd150afae0101757d1d6081e0e6ddf7baa (patch)
treec864003f3580d4eae365e3757c7a826ae3f6bfe7 /scripts
parentForgot to add it... ;) (diff)
downloadrekonq-82862fbd150afae0101757d1d6081e0e6ddf7baa.tar.xz
astyle
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!"
+