mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
format-all: Exclude third-party or generated code
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
parent
ffe804e177
commit
36220d3308
1 changed files with 2 additions and 1 deletions
|
@ -8,5 +8,6 @@
|
|||
|
||||
TOP_DIR=$(git rev-parse --show-toplevel)
|
||||
|
||||
find ${TOP_DIR} -iname "*.cpp" -o -iname "*.hpp" -o -iname "*.h" -o -iname "*.c" | \
|
||||
find ${TOP_DIR} \( -iname "*.cpp" -o -iname "*.hpp" -o -iname "*.h" -o -iname "*.c" \) -a \
|
||||
-not \( -path "${TOP_DIR}/fpga/thirdparty/*" -o -path "${TOP_DIR}/build*/*" \) | \
|
||||
xargs clang-format --verbose -i
|
||||
|
|
Loading…
Add table
Reference in a new issue