1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Travis: Update clang from 4.0 to 5.0 (#6467)

* Update clang from 4.0 to 5.0
This commit is contained in:
Loïc Blot 2017-10-09 11:32:06 +02:00 committed by GitHub
parent e6e5fa3bf8
commit 17016090e3
12 changed files with 55 additions and 37 deletions

View file

@ -1,8 +1,8 @@
#! /bin/bash
function perform_lint() {
echo "Performing LINT..."
if hash clang-format-4.0 2>/dev/null; then
CLANG_FORMAT=clang-format-4.0
if hash clang-format-5.0 2>/dev/null; then
CLANG_FORMAT=clang-format-5.0
else
CLANG_FORMAT=clang-format
fi