Makefile: check for lines without a full stop after description

This commit is contained in:
nodiscc
2016-02-27 23:58:17 +01:00
parent e3e766227e
commit b337f4f671
2 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,7 @@
SHELL = /bin/bash
all: checks
checks: missinglicenselanguage
checks: missinglicenselanguage nofullstop
noexternallink:
@echo "Lines with no source/demo/other link:"
@ -12,6 +12,11 @@ missinglicenselanguage:
@echo "Lines with only 1 or no language/license entry:"
@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep -v '` `'
nofullstop:
@echo "Lines without a full stop after description:"
-@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] \(\['
-@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] `'
contrib:
@git shortlog -sne