diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-05-18 14:58:14 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-05-18 14:58:14 +0100 |
commit | 2c6ac4190d0dcfda0ab59e30d8c451ba39800577 (patch) | |
tree | 6184a3615944e94474ce097408ba806a0c92c443 | |
parent | 1824ca74b3178ffabe99afbd9819dcfbd80264d9 (diff) | |
download | prosody-2c6ac4190d0dcfda0ab59e30d8c451ba39800577.tar.gz prosody-2c6ac4190d0dcfda0ab59e30d8c451ba39800577.zip |
GNUmakefile: Add 'lint' target
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 0253cacd..69fa12f3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 |