mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Fix clang-format binary selection
Also fix spaces to tabs
This commit is contained in:
parent
4b15f76ed1
commit
48ce9c9b30
@ -1,7 +1,11 @@
|
||||
#! /bin/bash
|
||||
function perform_lint() {
|
||||
echo "Performing LINT..."
|
||||
if hash clang-format-3.9 2>/dev/null; then
|
||||
CLANG_FORMAT=clang-format-3.9
|
||||
else
|
||||
CLANG_FORMAT=clang-format
|
||||
fi
|
||||
CLANG_FORMAT_WHITELIST="util/travis/clang-format-whitelist.txt"
|
||||
|
||||
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user