mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-25 05:41:53 +00:00
Add code formatting configuration with clang-format
This commit is contained in:
6
scripts/reformat-all.sh
Executable file
6
scripts/reformat-all.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Go to repository root
|
||||
cd "$(dirname "$0")/.." || exit 2
|
||||
|
||||
find ./src ./test -iname '*.h' -o -iname '*.cpp' | xargs clang-format -i
|
Reference in New Issue
Block a user