summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2023-09-09 20:50:55 +0200
committerFedja Beader <fedja@protonmail.ch>2023-09-09 20:51:38 +0200
commita9c298915dc9984d99d75506c7a4dee55ec1fc99 (patch)
tree6cd1a7f3abbf1bd57036c62e1ee5ec07c4a21cd6
parent358cc51cc72de27ee5b90e27211dac127ec73f39 (diff)
downloadmanaplus-a9c298915dc9984d99d75506c7a4dee55ec1fc99.tar.gz
manaplus-a9c298915dc9984d99d75506c7a4dee55ec1fc99.tar.bz2
manaplus-a9c298915dc9984d99d75506c7a4dee55ec1fc99.tar.xz
manaplus-a9c298915dc9984d99d75506c7a4dee55ec1fc99.zip
Reduce number of cpplint invocations from 1957 (?) to one.
-rwxr-xr-xtools/ci/jobs/cpplint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/jobs/cpplint.sh b/tools/ci/jobs/cpplint.sh
index d327e49d1..7bbccf271 100755
--- a/tools/ci/jobs/cpplint.sh
+++ b/tools/ci/jobs/cpplint.sh
@@ -43,7 +43,7 @@ args+=("--filter=\
find src \
-type f \
-name "*.cpp" -o -name "*.hpp" -o -name "*.h" -o -name "*.cc" \
- -exec ./cpplint.py "${args[@]}" {} \; 2>${ERRFILE}2
+ -exec ./cpplint.py "${args[@]}" {} \+ 2>${ERRFILE}2
grep ": " ${ERRFILE}2 | grep -v -e "src/debug/" \
-e "unittests/doctest.h" \