clang-tidy.sh 336 B

1234567891011121314
  1. #! /bin/bash -eu
  2. cmake -B build -DCMAKE_BUILD_TYPE=Debug \
  3. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
  4. -DRUN_IN_PLACE=TRUE \
  5. -DENABLE_GETTEXT=FALSE \
  6. -DBUILD_SERVER=TRUE
  7. cmake --build build --target GenerateVersion
  8. ./util/ci/run-clang-tidy.py \
  9. -clang-tidy-binary=$CLANG_TIDY -p build \
  10. -quiet -config="$(cat .clang-tidy)" \
  11. 'src/.*'