[build] Ignore submodules when formatting code
We have submodules with names that will match *.hpp and we are not really interested on formatting them.
This commit is contained in:
committed by
Jordan Kiley
parent
ae844abbd1
commit
7bca176bea
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user