aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Lockwood <1261876+deamos@users.noreply.github.com>2019-09-30 00:29:40 +0000
committerGitHub <noreply@github.com>2019-09-30 00:29:40 +0000
commit2518c3f1116d425c9eea2062656f130499d514cf (patch)
treea07aa1c63371b33d09a516305176a814c084a7a1 /Makefile
parentAdd Open Streaming Platform (diff)
parentMerge pull request #1808 from nodiscc/feed-readers-cleanup (diff)
downloadawesome-selfhosted-2518c3f1116d425c9eea2062656f130499d514cf.tar.gz
awesome-selfhosted-2518c3f1116d425c9eea2062656f130499d514cf.zip
Merge pull request #1 from Kickball/master
merge
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3e4ac949..21373e3a 100755
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@ all: checks
checks: nolicenselanguage nofullstop longdescriptions syntaxerrors
+monthly: checks awesome_bot check_github_commit_dates contrib
+
noexternallink:
@echo -e "\nLines with no source/demo/other link:"
@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep --color=always '[a-z\.] `'
@@ -21,17 +23,25 @@ longdescriptions:
@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\}'
-listlicenses:
- @echo -e "\nList of licenses:"
- @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' README.md | sort --unique
-
syntaxerrors:
@echo -e "\nSyntax errors:"
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '\)\(|``|\)`'
+#################################
+
contrib:
@mv .github/.mailmap . && printf "|Commits | Author |\n| :---: | --- |\n" > AUTHORS.md && git shortlog -sne | sed -r 's/^\s*([[:digit:]]*?)\s*?(.*?)/|\1|\2|/' >> AUTHORS.md && mv .mailmap .github/.mailmap
+awesome_bot:
+ # https://github.com/dkhamsing/awesome_bot
+ awesome_bot --allow-redirect -f README.md
+
+check_github_commit_dates:
+ python3 tests/check-github-commit-dates.py
+
+#################################
+
+
add:
@#add a new entry
@printf 'Software name: ' ;\