check if clang-tidy is installed

This commit is contained in:
Sylvestre Ledru 2021-08-29 15:32:25 +02:00
parent 2f0b96606f
commit eda5c4b589

View File

@ -68,6 +68,11 @@ if ! grep -q -E "scan-build: 0 bugs found." foo.log; then
fi
rm -rf scan-build
if test ! -f /usr/bin/clang-tidy-$VERSION; then
echo "Install clang-tidy-$VERSION"
exit 1
fi
echo 'namespace mozilla {
namespace dom {
void foo();