if [ -z "$RUN_CLANG_TIDY" ]
then
echo "Please set the path to run-clang-tidy using the git hook"
- echo "git config hooks.runclangtidypath /path/to/run-clang-tidy-8.py"
+ echo "git config hooks.runclangtidypath /path/to/run-clang-tidy-9.py"
echo "or by setting an environment variable, e.g."
- echo "RUN_CLANG_TIDY=/path/to/run-clang-tidy-8.py"
+ echo "RUN_CLANG_TIDY=/path/to/run-clang-tidy-9.py"
exit 2
fi
if ! which "$RUN_CLANG_TIDY" 1>/dev/null
then
- echo "run-clang-tidy-8.py not found: $RUN_CLANG_TIDY"
+ echo "run-clang-tidy-9.py not found: $RUN_CLANG_TIDY"
exit 2
fi
fi