Skip to content

Commit

Permalink
regress: cosmetic changes + dont fail for STYLE lint
Browse files Browse the repository at this point in the history
  • Loading branch information
semarie committed Jun 21, 2017
1 parent 87cb53e commit 8de7545
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,20 @@ regress: run-regress-perl-syntax \
run-regress-man-date

run-regress-perl-syntax:
perl -c sysclean.pl
@echo TEST: perl syntax
@perl -c sysclean.pl

run-regress-man-lint:
mandoc -T lint sysclean.8
@echo TEST: man page lint
@mandoc -T lint sysclean.8 || mandoc -T lint -W warning sysclean.8

run-regress-man-readme:
mandoc -T markdown sysclean.8 | diff -q README.md -
@echo TEST: README.md sync
@mandoc -T markdown sysclean.8 | diff -q README.md -

run-regress-man-date:
if [ -d .git ]; then \
@echo TEST: man page date
@if [ -d .git ]; then \
grep -qF -- \
"$$(date -r $$(git log -1 --format="%ct" sysclean.8) \
+'.Dd %B %d, %Y')" \
Expand Down

0 comments on commit 8de7545

Please sign in to comment.