[script] debugging cmake format
This commit is contained in:
parent
d3e374fe57
commit
b8c59db9e9
2
Makefile
2
Makefile
|
@ -70,7 +70,7 @@ all: checkout compile
|
||||||
|
|
||||||
format-cpp:
|
format-cpp:
|
||||||
# Format all the C/C++ files under this project, excluding submodules
|
# Format all the C/C++ files under this project, excluding submodules
|
||||||
for f in `find libs openfpga -iname *.cpp -iname *.hpp -iname *.c -iname *.h`; \
|
for f in `find libs openfpga -iname *.cpp -o -iname *.hpp -o -iname *.c -o -iname *.h`; \
|
||||||
do \
|
do \
|
||||||
${CLANG_FORMAT_EXEC} --style=file -i $${f} || exit 1; \
|
${CLANG_FORMAT_EXEC} --style=file -i $${f} || exit 1; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue