mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-07-26 10:38:52 +00:00
3a0ca480b0
* conform to clang spec * proper find call * Update format-code.sh
12 lines
291 B
Bash
Executable File
12 lines
291 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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
|
|
|