From 82862fbd150afae0101757d1d6081e0e6ddf7baa Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Apr 2009 11:24:11 +0200 Subject: astyle --- scripts/codingstyle.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts') 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!" + -- cgit v1.2.1