Files
osim-magnum-viewer/third_party/CLI11/scripts/check_style.sh
T

11 lines
175 B
Bash
Executable File

#!/usr/bin/env sh
set -evx
clang-format --version
git ls-files -- '*.cpp' '*.hpp' | xargs clang-format -sort-includes -i -style=file
git diff --exit-code --color
set +evx