mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2025-06-17 04:27:25 +02:00
Makefile: check for lines without a full stop after description
This commit is contained in:
parent
e3e766227e
commit
b337f4f671
2 changed files with 7 additions and 2 deletions
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue