mirror of https://github.com/openXC7/prjxray.git
make format: fix .git
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
cffdd62105
commit
d92748d24e
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue