mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Have clang-format-all.sh
also reformat test files (#4171)
This commit is contained in:
parent
01de4d4b5d
commit
8b60d588b7
|
@ -4,4 +4,5 @@ read -p "Are you sure you want to run clang-format on all files in src/? (y/n) "
|
||||||
echo
|
echo
|
||||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||||
find src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
|
find src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
|
||||||
|
find tests/src/ \( -iname "*.hpp" -o -iname "*.cpp" \) -exec clang-format -i {} \;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue