astyle: add microRTPS related code for format check and fix

This commit is contained in:
TSC21 2019-05-22 00:10:04 +01:00 committed by Lorenz Meier
parent b3435dd1f5
commit 3413df19e8
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,8 @@ if [ $# -gt 0 ]; then
PATTERN="$1"
fi
exec find boards src platforms \
exec find build boards msg src platforms \
-path msg/templates/urtps -prune -o \
-path platforms/nuttx/NuttX -prune -o \
-path src/drivers/uavcan/libuavcan -prune -o \
-path src/lib/DriverFramework -prune -o \
@ -15,4 +16,6 @@ exec find boards src platforms \
-path src/lib/matrix -prune -o \
-path src/lib/systemlib/uthash -prune -o \
-path src/modules/micrortps_bridge/micro-CDR -prune -o \
-path src/modules/micrortps_bridge/microRTPS_client -prune -o \
-path build/*/src/modules/micrortps_bridge/micrortps_client/micrortps_agent -prune -o \
-type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) | grep $PATTERN