Files
logging/script/format.sh
2024-11-24 20:23:37 +08:00

3 lines
151 B
Bash

#!/bin/bash
# Run clang-format on all C/C++ files in this directory and below.
find . -name "*.c" -o -name "*.h" -exec clang-format -style=file -i {} +