finally works
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2023-04-04 14:01:13 +02:00
parent 8d1db69e0d
commit e10359077c
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
7 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 284 translations.
* @details
* Generated on: 2023-04-04 13:41:47
* Generated on: 2023-04-04 13:59:07
*/
#include "translateEvents.h"

View File

@ -2,7 +2,7 @@
* @brief Auto-generated object translation file.
* @details
* Contains 171 translations.
* Generated on: 2023-04-04 13:41:47
* Generated on: 2023-04-04 13:59:07
*/
#include "translateObjects.h"

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 284 translations.
* @details
* Generated on: 2023-04-04 13:41:47
* Generated on: 2023-04-04 13:59:07
*/
#include "translateEvents.h"

View File

@ -2,7 +2,7 @@
* @brief Auto-generated object translation file.
* @details
* Contains 175 translations.
* Generated on: 2023-04-04 13:41:47
* Generated on: 2023-04-04 13:59:07
*/
#include "translateObjects.h"

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 284 translations.
* @details
* Generated on: 2023-04-04 13:41:47
* Generated on: 2023-04-04 13:59:07
*/
#include "translateEvents.h"

View File

@ -2,7 +2,7 @@
* @brief Auto-generated object translation file.
* @details
* Contains 175 translations.
* Generated on: 2023-04-04 13:41:47
* Generated on: 2023-04-04 13:59:07
*/
#include "translateObjects.h"

View File

@ -30,12 +30,12 @@ else
fi
cpp_format="clang-format"
file_selectors="-iname *.h -o -iname *.cpp -o -iname *.c -o -iname *.tpp"
file_excludes="-not -path */translateObjects.cpp -not -path */translateEvents.cpp"
file_selectors="( -iname *.h -o -iname *.cpp -o -iname *.c -o -iname *.tpp )"
file_excludes="( -not -iname translateObjects.cpp -not -iname translateEvents.cpp )"
if command -v ${cpp_format} &> /dev/null; then
for dir in ${folder_list[@]}; do
echo "Auto-formatting C/C++ files in ${dir} recursively"
find ${dir} ${file_excludes} ${file_selectors} | xargs ${cpp_format} --style=file -i
find ${dir} ${file_excludes} -and ${file_selectors} | xargs ${cpp_format} --style=file -i
done
find ./unittest ${file_selectors} -o -type d -name build -prune | \
xargs ${cpp_format} --style=file -i