mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 10:38:47 +08:00
improve format.sh
This commit is contained in:
parent
19b067030e
commit
a7e43132fd
14
format.sh
14
format.sh
@ -1,5 +1,11 @@
|
|||||||
find src tools demos tests -name \*.c -exec clang-format -i {} \;
|
find src tools demos -name \*.c -exec clang-format -i {} \;
|
||||||
find src tools demos tests -name \*.h -exec clang-format -i {} \;
|
find src tools demos -name \*.h -exec clang-format -i {} \;
|
||||||
find src tools demos tests -name \*.cc -exec clang-format -i {} \;
|
find src tools demos -name \*.cc -exec clang-format -i {} \;
|
||||||
find src tools demos tests -name \*.cpp -exec clang-format -i {} \;
|
find src tools demos -name \*.cpp -exec clang-format -i {} \;
|
||||||
|
|
||||||
|
for f in tests/*.cpp tests/*.c tests/*.cc
|
||||||
|
do
|
||||||
|
echo "clang-format -i $f"
|
||||||
|
clang-format -i $f
|
||||||
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user