makefile: add a target to run awesome-bot, add it to the monthly target

This commit is contained in:
nodiscc 2019-06-23 16:42:54 +02:00
parent 3e99a50870
commit 6322e4b3f3

View file

@ -4,7 +4,7 @@ all: checks
checks: nolicenselanguage nofullstop longdescriptions syntaxerrors checks: nolicenselanguage nofullstop longdescriptions syntaxerrors
monthly: checks check_github_commit_dates contrib monthly: checks awesome_bot check_github_commit_dates contrib
noexternallink: noexternallink:
@echo -e "\nLines with no source/demo/other link:" @echo -e "\nLines with no source/demo/other link:"
@ -32,6 +32,10 @@ syntaxerrors:
contrib: 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 @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: check_github_commit_dates:
python3 tests/check-github-commit-dates.py python3 tests/check-github-commit-dates.py