diff options
author | Alejandro Colomar <Colomar.6.4.3@GMail.com> | 2019-06-04 00:44:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 00:44:20 +0200 |
commit | 284e7b14a7db6f06358a12144092c919d1621a8f (patch) | |
tree | 517e833b9ad15df6c379093e5ab5af1985185c26 | |
parent | 000cf76ce06b05b8e9fc2ecb6ed5a9b810ab1b0e (diff) |
Delete checkstyle
-rwxr-xr-x | Checkstyle/checkstyle | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/Checkstyle/checkstyle b/Checkstyle/checkstyle deleted file mode 100755 index 6ce8be9..0000000 --- a/Checkstyle/checkstyle +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -################################################################################ -# -# Author: Alejandro Colomar Andrés -# -# This script checks the style in all files of type (.c .cpp .h .hpp) in the -# selected dirs. -# - - -################################################################################ -# variables # -################################################################################ -dirs=( - ../src/ - ../inc/ - ../stm32l4-modules/ - ../libalx/ -) - - -################################################################################ -# functions # -################################################################################ -check_style() -{ - - ./checkpatch.pl --show-types --no-tree -f $1 \ - --ignore SPDX_LICENSE_TAG,IF_0,SPACING,BRACKET_SPACE -} - -find_source_files() -{ - - source_files=$(find $1 -type f \( -iname \*.c -o -iname \*.h -o -iname \*.cpp -o -iname \*.hpp \)) -} - - -################################################################################ -# main # -################################################################################ -for i in ${dirs[*]} -do - find_source_files ${i} - - for j in ${source_files} - do - check_style ${j} - done -done - - -################################################################################ -# end of file # -################################################################################ |