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
commit9b9336e8b826a257576771011959990bee31e31e (patch)
tree713af3b174e451e34c0e7d637d19b81ec6e2c37f /GNUmakefile
parent80e4be1a61a3675455da367e1849c952d340c063 (diff)
downloadprosody-9b9336e8b826a257576771011959990bee31e31e.tar.gz
prosody-9b9336e8b826a257576771011959990bee31e31e.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: