mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-22 07:29:03 +00:00
conform to clang spec (#2925)
* conform to clang spec * proper find call * Update format-code.sh
This commit is contained in:
+10
-1
@@ -1,2 +1,11 @@
|
||||
#!/bin/sh
|
||||
find firmware/common firmware/baseband firmware/application firmware/test/application firmware/test/baseband -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' -o -iname '*.c' | xargs clang-format-18 -style=file -i
|
||||
|
||||
find firmware/common \
|
||||
firmware/baseband \
|
||||
firmware/application \
|
||||
firmware/test/application \
|
||||
firmware/test/baseband \
|
||||
\( -iname '*.h' -o -iname '*.hpp' -o -iname '*.c' -o -iname '*.cpp' \) \
|
||||
-print0 | \
|
||||
xargs -0 clang-format-18 -style=file -i
|
||||
|
||||
|
||||
Reference in New Issue
Block a user