feat: enhence makefile
This commit is contained in:
10
utils/tidy.sh
Executable file
10
utils/tidy.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="${SCRIPT_DIR}/.."
|
||||
CLANG_TIDY_BIN="${CLANG_TIDY:-clang-tidy}"
|
||||
|
||||
cd "${PROJECT_ROOT}"
|
||||
|
||||
make CLANG_TIDY="${CLANG_TIDY_BIN}" tidy
|
Reference in New Issue
Block a user