static-sites/bb.edn

10 lines
528 B
Clojure

{:paths []
:tasks {blog-watch (shell "clj -M:blog:shadow-cljs-run watch blog")
blog-generate {:doc "Render static HTML for every blog page (needs documents/org-meta-index.edn from a blog build)"
:task (shell "clj -M:blog -m com.oly.static-sites.do-blog.ssr")}
blog-release {:doc "Release build of the blog JS, then generate the static HTML"
:task (do (shell "clj -M:blog:shadow-cljs-run release blog")
(run 'blog-generate))}}}