snipplets.dev/snipplets/code/C/libserialport/format-code
2023-08-05 22:45:06 +03:00

15 lines
233 B
Bash
Executable File

#!/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