commit b1cf98aa6bf191fb68bd3e1d7c5d2a4c6f4a1d05 parent 845d239c7e14e213dd95f0c4207652ec6149147c Author: gracefu <81774659+gracefuu@users.noreply.github.com> Date: Tue, 15 Apr 2025 01:13:02 +0800 Add a new git repo Diffstat:
| M | Makefile | | | 14 | +++++++++----- |
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -89,12 +89,16 @@ purge: rebuild: if [ -n '$(NOREBUILD)' ]; then exit; fi - find public -mindepth 1 -maxdepth 1 -path 'public/.git' -prune -o -exec rm -r {} + + find public -mindepth 1 -maxdepth 1 -path 'public/git' -prune -o -exec rm -r {} + zine release - [ -d public/.git ] || git init --bare public/.git - git push --mirror --force public/.git - git -C public/.git gc --no-detach --aggressive - git -C public/.git update-server-info + [ -d public/git/blog.grace.moe ] || git init --bare public/git/blog.grace.moe + git push --mirror --force public/git/blog.grace.moe + git -C public/git/blog.grace.moe gc --no-detach --aggressive + git -C public/git/blog.grace.moe update-server-info + [ -d public/git/pymake ] || git init --bare public/git/pymake + git -C ~/Documents/src/pymake push --mirror --force $(realpath public/git/pymake) + git -C public/git/pymake gc --no-detach --aggressive + git -C public/git/pymake update-server-info upload: $(addprefix $(TMPPATH)/upload/,$(UPLOAD)) clean: $(addprefix $(TMPPATH)/clean/,$(CLEAN))