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@7:c80f65422d99, 2022-03-19 (annotated)
- Committer:
- smoritaemb
- Date:
- Sat Mar 19 09:23:37 2022 +0900
- Revision:
- 7:c80f65422d99
- Parent:
- 0:580aba13d1a1
Merge test_assortment_of_msgs branch.
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 |