Skip to content

Commit

Permalink
Modify annotation information
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingpqi123 authored and domchen committed Feb 9, 2022
1 parent 7e91e3d commit 5f4c7e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions codeformat.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
echo "----Start code formatting----"
echo "----begin to scan code format----"
find include/ -iname '*.h' -print0 | xargs clang-format -i
find tgfx/include -iname '*.h' -print0 | xargs clang-format -i
# shellcheck disable=SC2038
Expand All @@ -13,10 +13,10 @@ git diff
result=`git diff`
if [[ $result =~ "diff" ]]
then
echo "----Failed to pass coding specification----"
echo "----Failed----"
exit 1
else
echo "----Pass coding specification----"
echo "----Success----"
fi
echo "----Finish code formatting----"
echo "----Complete the scan code format-----"

0 comments on commit 5f4c7e4

Please sign in to comment.