mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
GNUmakefile: Add 'lint' target
This commit is contained in:
parent
13eab871ba
commit
49831eef8f
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,10 @@ coverage:
|
|||
luacov-console -s
|
||||
@echo "To inspect individual files run: luacov-console -l FILENAME"
|
||||
|
||||
lint:
|
||||
luacheck -q $$(hg files -I '**.lua') prosody prosodyctl
|
||||
@echo $$(sed -n '/^exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
|
||||
|
||||
util/%.so:
|
||||
$(MAKE) install -C util-src
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue