1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

Update our tooling (Clang 5 -> 7, GCC 7 -> 8)

This change permits to use up-to-date compilers, clang-tidy and
clang-format

It also refactor the tidy/format step to drop the binary selection from
scripts and perform it directly in travis
This commit is contained in:
Loïc Blot 2018-03-23 11:07:19 +01:00 committed by Loïc Blot
parent aafbdd442f
commit a6a04c4b5b
8 changed files with 38 additions and 35 deletions

View file

@ -3,9 +3,7 @@
needs_compile || exit 0
if hash clang-tidy-5.0 2>/dev/null; then
CLANG_TIDY=clang-tidy-5.0
else
if [ -z "${CLANG_TIDY}" ]; then
CLANG_TIDY=clang-tidy
fi