mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 18:43:18 +08:00
We use it for vectorized hash grouping. For now, add the library separately to figure out the required CMake and CI changes.
10 lines
467 B
Bash
Executable File
10 lines
467 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# we need to convert script dir to an absolute path
|
|
SCRIPT_DIR=$(cd "$(dirname $0)" || exit; pwd)
|
|
BASE_DIR=$(dirname $SCRIPT_DIR)
|
|
|
|
find ${BASE_DIR} \( -path "${BASE_DIR}/src/*" -or -path "${BASE_DIR}/test/*" -or -path "${BASE_DIR}/tsl/*" \) \
|
|
-and -not \( -path "*/.*" -or -path "*CMake*" -or -path "${BASE_DIR}/tsl/src/import/*" \) \
|
|
-and \( -name '*.c' -or -name '*.h' \) -print0 | xargs -0 ${SCRIPT_DIR}/clang_format_wrapper.sh -style=file -i
|