mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-29 12:12:38 +08:00
ignore CMakeFiles while format code style
This commit is contained in:
@@ -6,7 +6,7 @@ import os.path
|
||||
path = os.getcwd()
|
||||
|
||||
for root, dirs, files in os.walk(path):
|
||||
if root.endswith("/openssl") or root.endswith("/zlib") or (root.find("/build/generated/") != -1) or (root.find("cmake-build-debug/") != -1) or (root.find("cmake-build-release") != -1):
|
||||
if root.endswith("/openssl") or root.endswith("/zlib") or (root.find("/build/generated/") != -1) or (root.find("cmake-build-debug/") != -1) or (root.find("cmake-build-release") != -1) or (root.find("CMakeFiles") != -1):
|
||||
continue
|
||||
for name in files:
|
||||
if (name.endswith(".h") or name.endswith(".m") or name.endswith(".mm") or name.endswith(".hpp") or name.endswith(".cpp") or name.endswith(".java")):
|
||||
|
||||
Reference in New Issue
Block a user