Include Objective-C source files

The copyright_header.py script will process Objective-C source files 
(*.mm) as other ones.
This commit is contained in:
Hennadii Stepanov 2019-06-29 18:35:45 +03:00
parent 04710b6d8c
commit 01fafe55a1
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -34,7 +34,7 @@ EXCLUDE_DIRS = [
"src/univalue/",
]
INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.py']
INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.mm', '*.py']
INCLUDE_COMPILED = re.compile('|'.join([fnmatch.translate(m) for m in INCLUDE]))
def applies_to_file(filename):