diff --git a/ci/clang-format-all.sh b/ci/clang-format-all.sh new file mode 100755 index 00000000..eb32a84f --- /dev/null +++ b/ci/clang-format-all.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +REPO_ROOT=$(git rev-parse --show-toplevel) +find ${REPO_ROOT}/rai -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' | xargs clang-format -i