FSFW Update #26
7
.clang-format
Normal file
7
.clang-format
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
BasedOnStyle: Google
|
||||
IndentWidth: 2
|
||||
---
|
||||
Language: Cpp
|
||||
ColumnWidth: 100
|
||||
---
|
8
scripts/apply-clang-format.sh
Executable file
8
scripts/apply-clang-format.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [[ ! -f README.md ]]; then
|
||||
cd ..
|
||||
fi
|
||||
|
||||
find ./src -iname *.h -o -iname *.cpp | xargs clang-format --style=file -i
|
||||
find ./hal -iname *.h -o -iname *.cpp | xargs clang-format --style=file -i
|
||||
find ./tests -iname *.h -o -iname *.cpp | xargs clang-format --style=file -i
|
Loading…
Reference in New Issue
Block a user