projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e18a2d
)
Disable clang-tidy when no C/C++ files has been modified.
author
Loic Blot
<loic.blot@unix-experience.fr>
Sun, 10 Jun 2018 16:33:33 +0000
(18:33 +0200)
committer
Loic Blot
<loic.blot@unix-experience.fr>
Sun, 10 Jun 2018 16:33:33 +0000
(18:33 +0200)
util/travis/clangtidy.sh
patch
|
blob
|
history
diff --git
a/util/travis/clangtidy.sh
b/util/travis/clangtidy.sh
index 6f76765a15b2d198ef9ed9b16ad9bf57aaf95b91..7ed555693b01eb9a3e37fd7abfacf6744d1d6b82 100755
(executable)
--- a/
util/travis/clangtidy.sh
+++ b/
util/travis/clangtidy.sh
@@
-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
CLANG_TIDY=clang-tidy-5.0
else