anthracite/format.sh

2 lines
95 B
Bash
Executable file

git ls-files -- '*.cpp' '*.h' | xargs clang-format -i -style=file
git diff --exit-code --color