Skip to content

Commit

Permalink
Delete vendor from formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrogallo committed Nov 22, 2022
1 parent b75eb05 commit 99b85aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/ci-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ type -f clang-format || {
}

fmt="clang-format -i {}"
find src/ -name '*.cxx' -exec $fmt \; \
-or -name '*.hpp' -exec $fmt \;
vendor="-not -path *vendor*"
set -x
find src/ $vendor -name '*.cxx' -exec $fmt \; \
-or $vendor -name '*.hpp' -exec $fmt \;

0 comments on commit 99b85aa

Please sign in to comment.