Update clang-format.sh
This commit is contained in:
parent
0e9f1ca640
commit
b2ea240bbb
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
if which clang-format >/dev/null; then
|
if which clang-format >/dev/null; then
|
||||||
find cpp ios android/src/main/cpp -type f \( -name "*.h" -o -name "*.cpp" -o -name "*.m" -o -name "*.mm" \) -print0 | while read -d $'\0' file; do
|
find cpp ios android/src/main/cpp -type f \( -name "*.h" -o -name "*.cpp" -o -name "*.m" -o -name "*.mm" \) -print0 | while read -d $'\0' file; do
|
||||||
echo "-> cpp-lint $file"
|
|
||||||
clang-format -i "$file"
|
clang-format -i "$file"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user