aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-05-20 02:40:08 +0200
committerKim Alvefur <zash@zash.se>2018-05-20 02:40:08 +0200
commit20f0730255443d1e7ccb54c97cb49ca00cae9fab (patch)
tree713af3b174e451e34c0e7d637d19b81ec6e2c37f /GNUmakefile
parent3120037b03e314ef65929a9e9e12e0f0d603bbec (diff)
downloadprosody-20f0730255443d1e7ccb54c97cb49ca00cae9fab.tar.gz
prosody-20f0730255443d1e7ccb54c97cb49ca00cae9fab.zip
GNUmakefile: Add a fallback for `hg files` not working in linter target
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
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: