mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
scripts: update copyright_header script to include additional files
Includes .sh and .bash-completion files in the script as well
This commit is contained in:
parent
94e6e9f38d
commit
dffae5a5ad
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2016-2018 The Bitcoin Core developers
|
# Copyright (c) 2016-2019 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ EXCLUDE_DIRS = [
|
||||||
"src/univalue/",
|
"src/univalue/",
|
||||||
]
|
]
|
||||||
|
|
||||||
INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.mm', '*.py']
|
INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.mm', '*.py', '*.sh', '*.bash-completion']
|
||||||
INCLUDE_COMPILED = re.compile('|'.join([fnmatch.translate(m) for m in INCLUDE]))
|
INCLUDE_COMPILED = re.compile('|'.join([fnmatch.translate(m) for m in INCLUDE]))
|
||||||
|
|
||||||
def applies_to_file(filename):
|
def applies_to_file(filename):
|
||||||
|
|
Loading…
Add table
Reference in a new issue