Browse Source

Makefile: check for lines without a full stop after description

pull/474/head
nodiscc 9 years ago
parent
commit
b337f4f671
  1. 7
      Makefile
  2. 2
      README.md

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

2
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

Loading…
Cancel
Save