anthracite/format.sh

3 lines
95 B
Bash
Executable file

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