This commit is contained in:
chengyangkj 2024-01-26 14:44:58 +08:00
parent 79e775487c
commit 56519ffbb4

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
# sudo apt-get install clang-format # 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 -i --style=file