From 8cd4612ef23a041681a74b54032b5a03ecfdb386 Mon Sep 17 00:00:00 2001 From: dozens Date: Thu, 16 Nov 2023 15:13:00 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20exec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- justfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index cb8be53..c07b947 100644 --- a/justfile +++ b/justfile @@ -9,9 +9,10 @@ html: # build rss feed from journal rss: #!/usr/bin/env sh - echo "piblog" > www/feed.xml - echo "http://tilde.town/~dozens/piblog/index.htmljust a little log about my raspberry pi" >> www/feed.xml - ed -s !'markdown src/piblog.md' << HEREDOC | recfmt -f templates/feeditem.template | m4 >> www/feed.xml + exec > wwww/feed.xml + echo "piblog" + echo "http://tilde.town/~dozens/piblog/index.htmljust a little log about my raspberry pi" + ed -s !'markdown src/piblog.md' << HEREDOC | recfmt -f templates/feeditem.template | m4 /BEGIN/ka /END/kb 1,'ad @@ -26,7 +27,7 @@ rss: ,w /dev/stdout Q HEREDOC - echo '' >> www/feed.xml + echo '' # watch for changes watch: