mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Travis: Update clang from 4.0 to 5.0 (#6467)
* Update clang from 4.0 to 5.0
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user