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:
parent
e6e5fa3bf8
commit
17016090e3
12 changed files with 55 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue