diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-20 02:40:08 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-20 02:40:08 +0200 |
commit | 9b9336e8b826a257576771011959990bee31e31e (patch) | |
tree | 713af3b174e451e34c0e7d637d19b81ec6e2c37f | |
parent | 80e4be1a61a3675455da367e1849c952d340c063 (diff) | |
download | prosody-9b9336e8b826a257576771011959990bee31e31e.tar.gz prosody-9b9336e8b826a257576771011959990bee31e31e.zip |
GNUmakefile: Add a fallback for `hg files` not working in linter target
-rw-r--r-- | GNUmakefile | 2 |
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: |