mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2025-05-01 16:34:18 +02:00
makefile: fail if invalid content is found
This commit is contained in:
parent
db6ce9ad35
commit
501e7f11cb
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -10,16 +10,16 @@ noexternallink:
|
||||||
|
|
||||||
nolicenselanguage:
|
nolicenselanguage:
|
||||||
@echo -e "\nLines with only 1 or no language/license entry:"
|
@echo -e "\nLines with only 1 or no language/license entry:"
|
||||||
@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep -v '` `'
|
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep -v '` `'
|
||||||
|
|
||||||
nofullstop:
|
nofullstop:
|
||||||
@echo -e "\nLines without a full stop after description:"
|
@echo -e "\nLines 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] \(\['
|
||||||
-@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] `'
|
||||||
|
|
||||||
longdescriptions:
|
longdescriptions:
|
||||||
@echo -e "\nDescriptions exceeding 250 chars:"
|
@echo -e "\nDescriptions exceeding 250 chars:"
|
||||||
@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}'
|
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}'
|
||||||
|
|
||||||
listlicenses:
|
listlicenses:
|
||||||
@echo -e "\nList of licenses:"
|
@echo -e "\nList of licenses:"
|
||||||
|
@ -27,7 +27,7 @@ listlicenses:
|
||||||
|
|
||||||
syntaxerrors:
|
syntaxerrors:
|
||||||
@echo -e "\n Syntax errors:"
|
@echo -e "\n Syntax errors:"
|
||||||
@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '\)\(|``'
|
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '\)\(|``'
|
||||||
|
|
||||||
contrib:
|
contrib:
|
||||||
@git shortlog -sne
|
@git shortlog -sne
|
||||||
|
|
Loading…
Add table
Reference in a new issue