OpenAssetTools/scripts/reformat-all.sh

6 lines
144 B
Bash
Executable File

#!/bin/bash
# Go to repository root
cd "$(dirname "$0")/.." || exit 2
find ./src ./test -iname '*.h' -o -iname '*.cpp' | xargs clang-format -i