Merge pull request #334 from mcmasterg/make_format_git

make format: fix .git
This commit is contained in:
John McMaster 2018-12-17 14:36:28 -08:00 committed by GitHub
commit 20e09ca77d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ build:
database: build
$(MAKE) -C $@
FORMAT_EXCLUDE = third_party git env build
FORMAT_EXCLUDE = third_party .git env build
FIND_EXCLUDE = $(foreach x,$(FORMAT_EXCLUDE),-and -not -path './$(x)/*')
format:
find . -name \*.cc $(FIND_EXCLUDE) -print0 | xargs -0 -P $$(nproc) ${CLANG_FORMAT} -style=file -i