aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2015-08-17 08:54:12 +0300
committerJustin M. Keyes <justinkz@gmail.com>2015-08-20 23:40:15 -0400
commit57eaefbb232c18ea2fa44801eb30f0727278c6f6 (patch)
tree99801e67dc5f812dfeb4edce938c7ed3e45a668e /Makefile
parent2bce7c9baed001af5d1b8b3996cce2426e8ad728 (diff)
downloadrneovim-57eaefbb232c18ea2fa44801eb30f0727278c6f6.tar.gz
rneovim-57eaefbb232c18ea2fa44801eb30f0727278c6f6.tar.bz2
rneovim-57eaefbb232c18ea2fa44801eb30f0727278c6f6.zip
ci: Use error suppression in place of ignored files list. #3185
Fixes #3174
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 721474a3ec..45065769fb 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,8 @@ filter-true = $(strip $(filter-out 1 on ON true TRUE,$1))
CMAKE_BUILD_TYPE ?= Debug
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)
+DOC_DOWNLOAD_URL_BASE := https://raw.githubusercontent.com/neovim/doc/gh-pages
+CLINT_ERRORS_FILE_PATH := /reports/clint/errors.json
BUILD_TYPE ?= $(shell (type ninja > /dev/null 2>&1 && echo "Ninja") || \
echo "Unix Makefiles")
@@ -105,7 +107,7 @@ install: | nvim
lint:
cmake -DLINT_PRG=./clint.py \
-DLINT_DIR=src \
- -DLINT_IGNORE_FILE=clint-ignored-files.txt \
+ -DLINT_SUPPRESS_URL="$(DOC_DOWNLOAD_URL_BASE)$(CLINT_ERRORS_FILE_PATH)" \
-P cmake/RunLint.cmake
.PHONY: test functionaltest unittest lint clean distclean nvim libnvim cmake deps install