From 081f79062a4f8f4af145dfee480d5bc69d6ec4fd Mon Sep 17 00:00:00 2001 From: torlarse Date: Tue, 5 Sep 2023 18:40:50 +0200 Subject: [PATCH] Update library_generation.sh Add `.txt` and `.md` file types to cleaner white list --- .../library_generation/library_generation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microros_static_library/library_generation/library_generation.sh b/microros_static_library/library_generation/library_generation.sh index 7ae4c93d..4b9aa183 100755 --- a/microros_static_library/library_generation/library_generation.sh +++ b/microros_static_library/library_generation/library_generation.sh @@ -35,7 +35,7 @@ pushd firmware/mcu_ws > /dev/null popd > /dev/null ######## Clean and source ######## -find /project/src/ ! -name micro_ros_arduino.h ! -name *.c ! -name *.cpp ! -name *.c.in -delete +find /project/src/ ! -name micro_ros_arduino.h ! -name *.c ! -name *.cpp ! -name *.c.in -name *.txt ! -name *.md -delete ######## Build for Raspberry Pi Pico SDK ######## rm -rf firmware/build @@ -74,4 +74,4 @@ sort -o /project/built_packages /project/built_packages ######## Fix permissions ######## sudo chmod -R 777 /project/microros_static_library -sudo chmod -R -x+X /project/microros_static_library \ No newline at end of file +sudo chmod -R -x+X /project/microros_static_library