mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-09 02:52:31 +02:00
ci: filter all subtrees from tidy output
We are currently dumping output for some. i.e: ```bash diff --git a/src/minisketch/src/fields/clmul_1byte.cpp b/src/minisketch/src/fields/clmul_1byte.cpp index 8826af9..7fd6f2a 100644 --- a/src/minisketch/src/fields/clmul_1byte.cpp +++ b/src/minisketch/src/fields/clmul_1byte.cpp @@ -4,21 +4,16 @@ * file LICENSE or http://www.opensource.org/licenses/mit-license.php.* **********************************************************************/ -/* This file was substantially auto-generated by doc/gen_params.sage. */ -#include "../fielddefines.h" - +class Sketch; #if defined(ENABLE_FIELD_BYTES_INT_1) ```
This commit is contained in:
@@ -155,8 +155,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
|
|||||||
# accepted in src/.bear-tidy-config
|
# accepted in src/.bear-tidy-config
|
||||||
# Filter out:
|
# Filter out:
|
||||||
# * qt qrc and moc generated files
|
# * qt qrc and moc generated files
|
||||||
# * secp256k1
|
jq 'map(select(.file | test("src/qt/qrc_.*\\.cpp$|/moc_.*\\.cpp$") | not))' ../compile_commands.json > tmp.json
|
||||||
jq 'map(select(.file | test("src/qt/qrc_.*\\.cpp$|/moc_.*\\.cpp$|src/secp256k1/src/") | not))' ../compile_commands.json > tmp.json
|
|
||||||
mv tmp.json ../compile_commands.json
|
mv tmp.json ../compile_commands.json
|
||||||
cd "${BASE_BUILD_DIR}/bitcoin-$HOST/"
|
cd "${BASE_BUILD_DIR}/bitcoin-$HOST/"
|
||||||
python3 "${DIR_IWYU}/include-what-you-use/iwyu_tool.py" \
|
python3 "${DIR_IWYU}/include-what-you-use/iwyu_tool.py" \
|
||||||
|
@@ -4,7 +4,11 @@
|
|||||||
"include_only_existing_source": true,
|
"include_only_existing_source": true,
|
||||||
"paths_to_include": [],
|
"paths_to_include": [],
|
||||||
"paths_to_exclude": [
|
"paths_to_exclude": [
|
||||||
"src/leveldb"
|
"src/crc32c",
|
||||||
|
"src/crypto/ctaes",
|
||||||
|
"src/leveldb",
|
||||||
|
"src/minisketch",
|
||||||
|
"src/secp256k1"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"format": {
|
"format": {
|
||||||
|
Reference in New Issue
Block a user