diff --git a/justfile b/justfile index acebe82..1f7af88 100644 --- a/justfile +++ b/justfile @@ -26,12 +26,13 @@ html: # build rss rss: #!/usr/bin/env sh - echo "list blog" > www/feed.xml - echo "http://tilde.town/~dozens/listblog/index.htmla blog that is just a bunch of lists" >> www/feed.xml + exec > www/feed.xml + echo "list blog" + echo "http://tilde.town/~dozens/listblog/index.htmla blog that is just a bunch of lists" for f in `ls src/*.md`; do - ed -s $f < commands.ed | recfmt -f templates/template.recfmt | m4 >> www/feed.xml + ed -s $f < commands.ed | recfmt -f templates/template.recfmt | m4 done - echo '' >> www/feed.xml + echo '' # make html and rss build: index html rss