diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-29 00:05:45 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-29 00:05:45 +0100 |
commit | 98f53721514116b876d18bf0a2da89d2a53cc97d (patch) | |
tree | 6f04f558aec622c4b044fccbe1481db933f8901e /scripts/codingstyle.sh | |
parent | pedantic (diff) | |
download | rekonq-98f53721514116b876d18bf0a2da89d2a53cc97d.tar.xz |
Revert "pedantic"
Too much things committed a time..
This reverts commit 651f97d0652e90ab1af4e80418f42468cc5932e2.
Diffstat (limited to 'scripts/codingstyle.sh')
-rwxr-xr-x | scripts/codingstyle.sh | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/scripts/codingstyle.sh b/scripts/codingstyle.sh index 0ed5fb17..f0fb984f 100755 --- a/scripts/codingstyle.sh +++ b/scripts/codingstyle.sh @@ -1,28 +1,13 @@ #!/bin/sh # -# apply rekonq coding style to all cpp and header files in src directory -# +# apply kdelibs coding style to all c, cpp and header files in src directory # requirements: installed astyle # -# rekonq use kdelibs coding style, except for brackets, so while kdelibs coding style -# is -# -# void foo() { -# ... -# } -# -# rekonq uses -# -# void foo() -# { -# ... -# } +# The coding style is defined in http://techbase.kde.org/Policies/Kdelibs_Coding_Style # -# I like this way, for me more readable. -# -# Kdelibs coding style is defined in http://techbase.kde.org/Policies/Kdelibs_Coding_Style - +# In rekonq we use some little different rules.. +{ PWD=$(pwd) cd $PWD @@ -39,4 +24,4 @@ astyle \ --convert-tabs \ --indent-preprocessor \ `find -type f -name '*.cpp'` `find -type f -name '*.h'` - +} |