snipplets.dev/code/C/libserialport/format-code

15 lines
233 B
Plaintext
Raw Normal View History

2023-07-29 22:32:44 +03:00
#!/bin/sh
#
# formt-code - script for beautify code by clang-format.
#
# Alexander Popov <iiiypuk@fastmail.fm>
files=(
"listen.c"
)
for file in "${files[@]}"
do
clang-format -i --style=LLVM --sort-includes=false $file
done