From 9b9336e8b826a257576771011959990bee31e31e Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 20 May 2018 02:40:08 +0200 Subject: GNUmakefile: Add a fallback for `hg files` not working in linter target --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 69fa12f3..b96b6df7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -77,7 +77,7 @@ coverage: @echo "To inspect individual files run: luacov-console -l FILENAME" lint: - luacheck -q $$(hg files -I '**.lua') prosody prosodyctl + luacheck -q $$(hg files -I '**.lua' || echo core net util plugins) prosody prosodyctl @echo $$(sed -n '/^exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored util/%.so: -- cgit v1.2.3