This commit is contained in:
chengyangkj 2024-01-26 14:49:07 +08:00
parent 56519ffbb4
commit 979e528aec

View File

@ -1,4 +1,4 @@
#!/bin/bash
# sudo apt-get install clang-format version 10
find ./ -regex '.*\.cc\|.*\.cpp|.*\.h\|.*\.proto' -and -not -regex '.*\.pb\.cc\|.*\.pb\.h' | xargs clang-format -i --style=file
find ./ -regex '.*\.cc\|.*\.cpp|.*\.h\|.*\.proto' -and -not -regex '.*\.pb\.cc\|.*\.pb\.h' | xargs clang-format-10 -i --style=file