mirror of
https://github.com/progsource/maddy.git
synced 2026-03-24 23:40:39 +01:00
chore: add cmake find_package test
Some checks failed
run-checks / run-clang-format (push) Has been cancelled
run-tests / test-on-ubuntu (push) Has been cancelled
run-tests / test-on-windows (push) Has been cancelled
run-tests / test-on-osx (push) Has been cancelled
Some checks failed
run-checks / run-clang-format (push) Has been cancelled
run-tests / test-on-ubuntu (push) Has been cancelled
run-tests / test-on-windows (push) Has been cancelled
run-tests / test-on-osx (push) Has been cancelled
This commit is contained in:
@@ -70,6 +70,11 @@ def format_files(dry_run):
|
||||
files_to_format = []
|
||||
for pattern in patterns:
|
||||
matched_files = glob.glob(pattern, recursive=True)
|
||||
|
||||
for file in matched_files:
|
||||
if '\/tmp\/' in file or '\\tmp\\' in file:
|
||||
matched_files.remove(file)
|
||||
|
||||
files_to_format.extend(matched_files)
|
||||
|
||||
if not files_to_format:
|
||||
|
||||
Reference in New Issue
Block a user