mirror of
https://github.com/minetest/minetest.git
synced 2024-09-12 00:26:50 +02:00
Disable clang-tidy when no C/C++ files has been modified.
This commit is contained in:
parent
2e18a2d68c
commit
fb4e4f048e
@ -1,3 +1,8 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
. util/travis/common.sh
|
||||||
|
|
||||||
|
needs_compile || exit 0
|
||||||
|
|
||||||
if hash clang-tidy-5.0 2>/dev/null; then
|
if hash clang-tidy-5.0 2>/dev/null; then
|
||||||
CLANG_TIDY=clang-tidy-5.0
|
CLANG_TIDY=clang-tidy-5.0
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user