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

Commit

Permalink
[build] Ignore submodules when formatting code
Browse files Browse the repository at this point in the history
We have submodules with names that will match *.hpp and
we are not really interested on formatting them.
  • Loading branch information
tmpsantos authored and jmkiley committed Sep 18, 2019
1 parent ae844ab commit 7bca176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ jobs:
- run:
name: Clang Format
command: |
git diff -U0 --no-color origin/master... *.cpp *.hpp | clang-format-diff-8 -p1 -i
git diff -U0 --ignore-submodules=all --no-color origin/master... *.cpp *.hpp | clang-format-diff-8 -p1 -i
git diff --exit-code
- run:
name: Code Generators
Expand Down

0 comments on commit 7bca176

Please sign in to comment.