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 | 20f0730255443d1e7ccb54c97cb49ca00cae9fab (patch) | |
tree | 713af3b174e451e34c0e7d637d19b81ec6e2c37f | |
parent | 3120037b03e314ef65929a9e9e12e0f0d603bbec (diff) | |
download | prosody-20f0730255443d1e7ccb54c97cb49ca00cae9fab.tar.gz prosody-20f0730255443d1e7ccb54c97cb49ca00cae9fab.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: |