[script] debugging cmake format

This commit is contained in:
tangxifan 2022-10-06 17:07:57 -07:00
parent d3e374fe57
commit b8c59db9e9
1 changed files with 1 additions and 1 deletions

View File

@ -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