diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-09 19:23:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-09 19:23:26 +0200 |
commit | 8871b21b04f786fa0ac7f9d4a5fbb78bcf4056a3 (patch) | |
tree | eaec818db25e0f22bc081cceec514a9fe7c8f95b | |
parent | 76f20134f78f9173a24ed8448c1ab4a912a422b9 (diff) | |
download | prosody-8871b21b04f786fa0ac7f9d4a5fbb78bcf4056a3.tar.gz prosody-8871b21b04f786fa0ac7f9d4a5fbb78bcf4056a3.zip |
GNUmakefile: Allow overriding path to luacheck
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 69fa12f3..4836df85 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -19,6 +19,8 @@ INSTALL_EXEC=$(INSTALL) -m755 MKDIR=install -d MKDIR_PRIVATE=$(MKDIR) -m750 +LUACHECK=luacheck + .PHONY: all test coverage clean install all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version @@ -77,7 +79,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') prosody prosodyctl @echo $$(sed -n '/^exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored util/%.so: |