First commit adds .sh
and .bash-completion
files into the script, which were otherwise left out.
Second commit updates headers with the script.
NOTE:
The script does not update any *.c
or *.cc
files although it’s searching for them.
.c
and .cc
files are present in the “excluded directories”.
My suggestion would be to either exclude these files from the search, or include the directories. Since I’m not sure what was the exact reasoning, I didn’t change anything.
some script code:
INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.mm', '*.py', '*.sh', '*.bash-completion']
(should I shorten “bash-completion”? the script is slow)
0EXCLUDE_DIRS = [
1 # git subtrees
2 "src/crypto/ctaes/",
3 "src/leveldb/",
4 "src/secp256k1/",
5 "src/univalue/",
6]