summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-09-18 23:37:04 +0300
committerJordan Kiley <jmkiley@users.noreply.github.com>2019-09-18 15:07:09 -0700
commit7bca176beaf4dcae2263eeabee82fd7b6412654b (patch)
treeafa3f2ea5790d0f66db7671bfadc07e19f67a2bf
parentae844abbd1cff4e2e6fd4bc0f72dcd3bd1c07be4 (diff)
downloadqtlocation-mapboxgl-7bca176beaf4dcae2263eeabee82fd7b6412654b.tar.gz
[build] Ignore submodules when formatting code
We have submodules with names that will match *.hpp and we are not really interested on formatting them.
-rw-r--r--circle.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 2d1e7e3f73..391ad7c3f5 100644
--- a/circle.yml
+++ b/circle.yml
@@ -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