2016-08-22 18:20:27 -03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
|
2021-10-22 06:49:54 -03:00
|
|
|
PATTERN="-e ."
|
|
|
|
|
|
|
|
if [ $# -gt 0 ]; then
|
|
|
|
PATTERN="$1"
|
|
|
|
fi
|
|
|
|
|
2020-03-17 12:15:12 -03:00
|
|
|
exec find boards msg src platforms test \
|
2019-05-21 20:10:04 -03:00
|
|
|
-path msg/templates/urtps -prune -o \
|
2018-01-15 16:34:18 -04:00
|
|
|
-path platforms/nuttx/NuttX -prune -o \
|
2020-01-09 12:00:40 -04:00
|
|
|
-path platforms/qurt/dspal -prune -o \
|
2019-01-22 21:49:20 -04:00
|
|
|
-path src/drivers/uavcan/libuavcan -prune -o \
|
2021-07-14 19:29:43 -03:00
|
|
|
-path src/drivers/uavcan/uavcan_drivers/kinetis/driver/include/uavcan_kinetis -prune -o \
|
2020-05-05 20:18:59 -03:00
|
|
|
-path src/drivers/uavcan_v1/libcanard -prune -o \
|
2021-02-10 06:45:20 -04:00
|
|
|
-path src/drivers/uavcannode_gps_demo/libcanard -prune -o \
|
2021-07-14 19:29:43 -03:00
|
|
|
-path src/lib/crypto/monocypher -prune -o \
|
2020-11-09 06:51:27 -04:00
|
|
|
-path src/lib/events/libevents -prune -o \
|
2021-01-24 16:58:11 -04:00
|
|
|
-path src/lib/parameters/uthash -prune -o \
|
2021-07-14 19:29:43 -03:00
|
|
|
-path src/modules/ekf2/EKF -prune -o \
|
2021-02-26 18:30:12 -04:00
|
|
|
-path src/modules/gyro_fft/CMSIS_5 -prune -o \
|
2021-11-06 00:01:38 -03:00
|
|
|
-path src/modules/mavlink/mavlink -prune -o \
|
2017-10-17 17:29:55 -03:00
|
|
|
-path src/modules/micrortps_bridge/micro-CDR -prune -o \
|
2019-05-21 20:10:04 -03:00
|
|
|
-path src/modules/micrortps_bridge/microRTPS_client -prune -o \
|
2020-03-17 12:15:12 -03:00
|
|
|
-path test/mavsdk_tests/catch2 -prune -o \
|
2021-06-02 07:44:52 -03:00
|
|
|
-path src/lib/crypto/monocypher -prune -o \
|
|
|
|
-path src/lib/crypto/libtomcrypt -prune -o \
|
|
|
|
-path src/lib/crypto/libtommath -prune -o \
|
2021-10-22 06:49:54 -03:00
|
|
|
-type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) | grep $PATTERN
|