Porting mros2 as an Mbed library.
Dependents: mbed-os-example-mros2 example-mbed-mros2-sub-pose example-mbed-mros2-pub-twist example-mbed-mros2-mturtle-teleop
embeddedRTPS/ci/clang-check-format.sh@0:580aba13d1a1, 2021-12-30 (annotated)
- Committer:
- smoritaemb
- Date:
- Thu Dec 30 21:06:29 2021 +0900
- Revision:
- 0:580aba13d1a1
Updated to catch up to mros2 v2.3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
smoritaemb | 0:580aba13d1a1 | 1 | #!/bin/bash |
smoritaemb | 0:580aba13d1a1 | 2 | |
smoritaemb | 0:580aba13d1a1 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
smoritaemb | 0:580aba13d1a1 | 4 | |
smoritaemb | 0:580aba13d1a1 | 5 | cd $DIR/../ |
smoritaemb | 0:580aba13d1a1 | 6 | |
smoritaemb | 0:580aba13d1a1 | 7 | # DIR dos2unix to clean-up line endings |
smoritaemb | 0:580aba13d1a1 | 8 | echo "Applying dos2unix" |
smoritaemb | 0:580aba13d1a1 | 9 | find . -iname *.hpp -o -iname *.cpp -o -iname *.tpp -o -iname *.h | grep -vi config.h | grep -vi thirdparty | xargs dos2unix |
smoritaemb | 0:580aba13d1a1 | 10 | |
smoritaemb | 0:580aba13d1a1 | 11 | # Apply clang-format |
smoritaemb | 0:580aba13d1a1 | 12 | echo "Applying clang-format" |
smoritaemb | 0:580aba13d1a1 | 13 | find . -iname *.hpp -o -iname *.cpp -o -iname *.tpp -o -iname *.h | grep -vi config.h | grep -vi thirdparty | xargs clang-format -i --verbose style=Google |