9 lines
156 B
Bash
Executable File
9 lines
156 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. "$(dirname "$0")/isTopLevel.sh"
|
|
|
|
for f in $(git ls-files | grep -E '.*\.(cc|h)$'); do
|
|
echo "formatting ${f}"
|
|
clang-format -i "${f}"
|
|
done
|