Have clang-format-all.sh also reformat test files (#4171)
This commit is contained in:
@@ -4,4 +4,5 @@ read -p "Are you sure you want to run clang-format on all files in src/? (y/n) "
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
find src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
|
||||
find tests/src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user