From 57eaefbb232c18ea2fa44801eb30f0727278c6f6 Mon Sep 17 00:00:00 2001 From: ZyX Date: Mon, 17 Aug 2015 08:54:12 +0300 Subject: ci: Use error suppression in place of ignored files list. #3185 Fixes #3174 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit