aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2016-02-27 22:58:17 +0000
committernodiscc <nodiscc@gmail.com>2016-02-27 23:02:14 +0000
commitb337f4f6711be1c2ddb5e376662081cd4a555bfe (patch)
tree30ab2e5aa4121a08e188470c2978a31ab57d6c11
parentadd Makefile with tests and helpers, update/simplify #Contributing (diff)
downloadawesome-selfhosted-b337f4f6711be1c2ddb5e376662081cd4a555bfe.tar.gz
awesome-selfhosted-b337f4f6711be1c2ddb5e376662081cd4a555bfe.zip
Makefile: check for lines without a full stop after description
-rw-r--r--Makefile7
-rw-r--r--README.md2
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