commit 44f9c65282c9abb992e6ec6623814c170cf92e55 parent 50366578c2a54a16add03c79a31584854aef85dc Author: Yuval Langer <yuval.langer@gmail.com> Date: Fri, 27 Sep 2024 10:40:22 +0300 Add a fancy new guile integration that holds the repositories list. Diffstat:
M | Makefile | | | 5 | +++-- |
A | repository-list.scm | | | 22 | ++++++++++++++++++++++ |
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,5 +1,6 @@ repodir = ~/foo -repositories = dotfiles elfeed-nitter emacs-nano-tts-minor-mode emacs-super-duper-yes-or-no guile-clipboard-speaker guile-rsv guix-kakafarm-channel kaka.farm learning-cc4e learning-sicp learning-the-little-schemer python-clipboard-speaker r7rs-small-texinfo rusty-diceware spacevroom spook stagit-repositories +$(guile (load "repository-list.scm")) +repositories = $(guile repositories) .PHONY: all all: $(repositories) index.html @@ -10,7 +11,7 @@ index.html: $(repositories): mkdir -p $@; cd $@; stagit -u https://kaka.farm/~stagit/ ~/foo/$@ -upload: all +upload: all index.html for repository in $(repositories); do cp logo.png favicon.png style.css $$repository/ ; done rsync -Prv --delete style.css favicon.png logo.png $(repositories) index.html stagit@kaka.farm:public_html/ ssh git@kaka.farm 'sh -s' < update-server-info.sh diff --git a/repository-list.scm b/repository-list.scm @@ -0,0 +1,22 @@ +(define repositories + (map symbol->string + '( + dotfiles + elfeed-nitter + emacs-detubifier + emacs-nano-tts-minor-mode + emacs-super-duper-yes-or-no + guile-clipboard-speaker + guile-rsv + guix-kakafarm-channel + kaka.farm + learning-cc4e + learning-sicp + learning-the-little-schemer + python-clipboard-speaker + r7rs-small-texinfo + rusty-diceware + spacevroom + spook + stagit-repositories + )))