diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-10 21:37:12 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-11 17:20:52 +0300 |
commit | 14ed433027623e1ae31f4f874605580c8191b27d (patch) | |
tree | 0778451ab7378fde0988a68d3b23ff3fc93b4724 /scripts/codingstyle.sh | |
parent | Fix some clang-tidy warnings (diff) | |
download | rekonq-14ed433027623e1ae31f4f874605580c8191b27d.tar.xz |
Update cppcheck.sh
Diffstat (limited to 'scripts/codingstyle.sh')
-rw-r--r-- | scripts/codingstyle.sh | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/scripts/codingstyle.sh b/scripts/codingstyle.sh deleted file mode 100644 index b35d9433..00000000 --- a/scripts/codingstyle.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# apply rekonq coding style to all 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() -# { -# ... -# } -# -# I like this way, for me more readable. :) -# -# Kdelibs coding style is defined in http://techbase.kde.org/Policies/Kdelibs_Coding_Style - - -PWD=$(pwd) - -cd $PWD -cd .. - -echo "Applying astyle rules..." -astyle \ ---indent=spaces=4 \ ---style=allman \ ---indent-labels \ ---pad-oper \ ---pad-header \ ---unpad-paren \ ---keep-one-line-statements \ ---convert-tabs \ ---indent-preprocessor \ -`find -type f -name '*.cpp'` `find -type f -name '*.h'` - -echo "Removing .orig files..." -rm *.orig */*.orig - -echo "Done!" - |