From b337f4f6711be1c2ddb5e376662081cd4a555bfe Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sat, 27 Feb 2016 23:58:17 +0100 Subject: [PATCH] Makefile: check for lines without a full stop after description --- Makefile | 7 ++++++- README.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 132ab243..75dff78a 100644 --- a/Makefile +++ b/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 diff --git a/README.md b/README.md index 2d43c731..4058c53c 100644 --- a/README.md +++ b/README.md @@ -900,7 +900,7 @@ See also [Documentation Generators](#documentation-generators), [Wikimatrix](htt * Non-[Free](https://en.wikipedia.org/wiki/Free_software) software must be marked `⊘ Proprietary` next to the title, and added to [non-free.md](non-free.md) * Software with no development activity for 6-12 months may be removed from the list. * Check current [issues](https://github.com/Kickball/awesome-selfhosted/issues) and [Pull Requests](https://github.com/Kickball/awesome-selfhosted/pulls), as well as [closed issues/PRs](https://github.com/Kickball/awesome-selfhosted/pulls?utf8=%E2%9C%93&q=is%3Aclosed+) - * The list of contributors can be updated with `make contrib`. Several checks are available: `make noexternallink; make missinglicenselanguage` + * The list of contributors can be updated with `make contrib`. Several checks are available: `make noexternallink; make missinglicenselanguage; make nofullstop` ## License