diff --git a/Makefile b/Makefile index 7346dab..0c60e29 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ default: gendoc: .venv .venv/bin/python3 ci/gendoc.py $(shell grep -l '@module ' *.go) >wiki/Home.md + git add wiki/Home.md .venv: python -m venv .venv @@ -14,3 +15,8 @@ pull_wiki: push_wiki: git subtree push --prefix=wiki https://github.com/Luzifer/discord-community.wiki.git master + +# --- Local dev + +auto-hook-pre-commit: gendoc +auto-hook-post-push: push_wiki