Skip to content

Commit eb466a3

Browse files
JohnCoconutminggo
authored andcommitted
disable clang-tidy checks on script bindings code (#19928)
1 parent 9696569 commit eb466a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/travis-scripts/run-script.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ function build_linux_clang_tidy()
4545
cd clang-tidy-build
4646
cmake ../.. -DCMAKE_EXPORT_COMPILE_COMMANDS=on
4747
clang_tidy_script=$(dirname $(dirname $(readlink -f `which clang-tidy`)))/share/clang/run-clang-tidy.py
48-
# run clang-tidy on all files except those in external directory
49-
python $clang_tidy_script '^((?!/cocos2d-x/external/).)*$'
48+
# disable clang-tidy checks on external directory and cocos/scripting directory
49+
python $clang_tidy_script '^((?!/cocos2d-x/external/|/cocos/scripting/).)*$'
5050
}
5151

5252
function build_mac()

0 commit comments

Comments
 (0)