summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-06-24 12:50:46 +0200
committerPierre Bourdon <delroth@gmail.com>2016-06-24 13:14:41 +0200
commite1c65406dcb9c9a4bae117400381da833fe1e981 (patch)
tree6e21e36547d528669f9cf025e636c44489482e62 /Tools
parent43d0d692f941c6ca44f62bc17597d74e12ff97c8 (diff)
linter: Stop checking for include ordering (inconsistent with clang-format)
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/lint.sh17
1 files changed, 1 insertions, 16 deletions
diff --git a/Tools/lint.sh b/Tools/lint.sh
index b399ac71d5..70cb812877 100755
--- a/Tools/lint.sh
+++ b/Tools/lint.sh
@@ -6,22 +6,7 @@ REPO_BASE=$(realpath $(dirname $0)/..)
fail=0
-# Step 1: check for includes ordering.
-echo "[.] Checking #include statements ordering."
-res=$(
- ${REPO_BASE}/Tools/check-includes.py \
- $(find ${REPO_BASE}/Source/Core -name "*.cpp" -o -name "*.h") \
- 2>&1 \
- >/dev/null
-)
-if [ -n "${res}" ]; then
- echo "FAIL: ${res}"
- fail=1
-else
- echo "OK"
-fi
-
-# Step 2: check for trailing whitespaces.
+# Step 1: check for trailing whitespaces.
echo "[.] Checking for trailing whitespaces."
res=$(
find ${REPO_BASE}/Source/Core -name "*.cpp" -o -name "*.h" \