mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
GNUmakefile: Add a fallback for hg files
not working in linter target
This commit is contained in:
parent
3120037b03
commit
20f0730255
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue