mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2025-06-11 19:51:02 +00:00
Makefile: check for lines without a full stop after description
This commit is contained in:
7
Makefile
7
Makefile
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user