aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 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