Software / code / prosody
Comparison
GNUmakefile @ 8807:bf91de890107
GNUmakefile: Add a fallback for `hg files` not working in linter target
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 20 May 2018 02:40:08 +0200 |
| parent | 8798:505722879b55 |
| child | 8823:0cf281afdf0e |
comparison
equal
deleted
inserted
replaced
| 8806:6529f762b819 | 8807:bf91de890107 |
|---|---|
| 75 luacov-console | 75 luacov-console |
| 76 luacov-console -s | 76 luacov-console -s |
| 77 @echo "To inspect individual files run: luacov-console -l FILENAME" | 77 @echo "To inspect individual files run: luacov-console -l FILENAME" |
| 78 | 78 |
| 79 lint: | 79 lint: |
| 80 luacheck -q $$(hg files -I '**.lua') prosody prosodyctl | 80 luacheck -q $$(hg files -I '**.lua' || echo core net util plugins) prosody prosodyctl |
| 81 @echo $$(sed -n '/^exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored | 81 @echo $$(sed -n '/^exclude_files/,/^}/p;' .luacheckrc | sed '1d;$d' | wc -l) files ignored |
| 82 | 82 |
| 83 util/%.so: | 83 util/%.so: |
| 84 $(MAKE) install -C util-src | 84 $(MAKE) install -C util-src |
| 85 | 85 |