Comparison

GNUmakefile @ 9416:15cd0d9cde7c

make lint: Fix 'ignored files' count
author Matthew Wild <mwild1@gmail.com>
date Mon, 01 Oct 2018 15:26:51 +0100
parent 9289:b5fc11475b5d
child 9423:d4e8aedc0f82
comparison
equal deleted inserted replaced
9415:02155a10c5e9 9416:15cd0d9cde7c
79 luacov-console -s 79 luacov-console -s
80 @echo "To inspect individual files run: luacov-console -l FILENAME" 80 @echo "To inspect individual files run: luacov-console -l FILENAME"
81 81
82 lint: 82 lint:
83 $(LUACHECK) -q $$(HGPLAIN= hg files -I '**.lua') prosody prosodyctl 83 $(LUACHECK) -q $$(HGPLAIN= hg files -I '**.lua') prosody prosodyctl
84 @echo $$(sed -n '/^exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored 84 @echo $$(sed -n '/^\tlocal exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored
85 85
86 util/%.so: 86 util/%.so:
87 $(MAKE) install -C util-src 87 $(MAKE) install -C util-src
88 88
89 %.install: % 89 %.install: %