mirror of https://github.com/openXC7/prjxray.git
Merge pull request #334 from mcmasterg/make_format_git
make format: fix .git
This commit is contained in:
commit
20e09ca77d
2
Makefile
2
Makefile
|
|
@ -18,7 +18,7 @@ build:
|
||||||
database: build
|
database: build
|
||||||
$(MAKE) -C $@
|
$(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)/*')
|
FIND_EXCLUDE = $(foreach x,$(FORMAT_EXCLUDE),-and -not -path './$(x)/*')
|
||||||
format:
|
format:
|
||||||
find . -name \*.cc $(FIND_EXCLUDE) -print0 | xargs -0 -P $$(nproc) ${CLANG_FORMAT} -style=file -i
|
find . -name \*.cc $(FIND_EXCLUDE) -print0 | xargs -0 -P $$(nproc) ${CLANG_FORMAT} -style=file -i
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue