[Enhancement] Exclude be/src/thirdparty from clang-format (#21622)
Signed-off-by: sduzh <zhuming9011@qq.com>
This commit is contained in:
parent
1b56492eb0
commit
097632bccd
|
|
@ -30,6 +30,8 @@ export STARROCKS_HOME=`cd "${ROOT}/.."; pwd`
|
|||
|
||||
CLANG_FORMAT=${CLANG_FORMAT_BINARY:=$(which clang-format)}
|
||||
|
||||
python3 ${STARROCKS_HOME}/build-support/run_clang_format.py --clang_format_binary="${CLANG_FORMAT}" --fix --source_dirs="${STARROCKS_HOME}/be/src","${STARROCKS_HOME}/be/test"
|
||||
python3 ${STARROCKS_HOME}/build-support/run_clang_format.py --clang_format_binary="${CLANG_FORMAT}" --fix \
|
||||
--source_dirs="${STARROCKS_HOME}/be/src","${STARROCKS_HOME}/be/test" \
|
||||
--exclude_globs="${STARROCKS_HOME}/build-support/excludes"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
*/be/src/thirdparty/*
|
||||
Loading…
Reference in New Issue