Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #384 from codecov/vala-files
Browse files Browse the repository at this point in the history
Run EXCL for .vala files
  • Loading branch information
thomasrockhu authored Nov 30, 2020
2 parents 79cbc08 + 14adac9 commit 9e6c3fe
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion SHA1SUM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8e7bfe30232e3538f1f65fe6e4cf553cf9543eb2 codecov
9b74b6ac968910b35fac08807f342b76f6c2adf5 codecov
2 changes: 1 addition & 1 deletion SHA256SUM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a1494e6093fcf3e743990be5959a8e39251fcdcc9ae7d50000c426482d7b9098 codecov
5beb0223fbb05da4a1ceaa4a41cbe915384e9d4e5879c76d45258cd25c7aa125 codecov
2 changes: 1 addition & 1 deletion SHA512SUM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
364c912ba02c6da8f67ff0d46e33e309401aab9fc960055bf6ba46335aab6088e12ed5e6eebeb2ae14c4a06aaaf635ad8650e3f6db410f7b447af128ae01f786 codecov
369d35ccf2a00ef6fa888b211b779bfcf08a21451de52e4886eb61f8cfbb56eb2e0501c41d3b985cc4b86ba8291aec1bbf8fbb19bb4878c1d954290a15aa928f codecov
16 changes: 9 additions & 7 deletions codecov
Original file line number Diff line number Diff line change
Expand Up @@ -1602,21 +1602,22 @@ then
|| echo ''
fi

if echo "$network" | grep -m1 '\(.cpp\|.h\|.cxx\|.c\|.hpp\|.m\|.swift\)$' 1>/dev/null;
if echo "$network" | grep -m1 '\(.c\.cpp\|.cxx\|.h\|.hpp\|.m\|.swift\|.vala\)$' 1>/dev/null;
then
# skip brackets
# shellcheck disable=SC2086,SC2090
cd "$git_root" && \
find . -type f \
$skip_dirs \
\( \
-name '*.h' \
-name '*.c' \
-or -name '*.cpp' \
-or -name '*.cxx' \
-or -name '*.m' \
-or -name '*.c' \
-or -name '*.h' \
-or -name '*.hpp' \
-or -name '*.m' \
-or -name '*.swift' \
-or -name '*.vala' \
\) -exec \
grep -nIHE \
-e "$empty_line" \
Expand All @@ -1633,13 +1634,14 @@ then
find . -type f \
$skip_dirs \
\( \
-name '*.h' \
-name '*.c' \
-or -name '*.cpp' \
-or -name '*.cxx' \
-or -name '*.m' \
-or -name '*.c' \
-or -name '*.h' \
-or -name '*.hpp' \
-or -name '*.m' \
-or -name '*.swift' \
-or -name '*.vala' \
\) -exec \
grep -nIH '// LCOV_EXCL' \
{} \; \
Expand Down

0 comments on commit 9e6c3fe

Please sign in to comment.