From c4f39307b6a29660e444ecb84d83bca048e8408c Mon Sep 17 00:00:00 2001 From: eltrac Date: Sun, 25 Oct 2026 00:31:41 +0800 Subject: [chore] update .gitignore; add babashka tasks; use openrsync to replace rsync --- .gitignore | 2 +- bb.edn | 7 +++++++ justfile | 3 +-- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 bb.edn diff --git a/.gitignore b/.gitignore index 42b0833f..3a4630b0 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,6 @@ content/posts/_template.md /data/externallinks.json /data/highlights.json /static/link-graph.json -/.clj-kondo/.cache/v1 +/.clj-kondo/ /.lsp/.cache /.nrepl-port diff --git a/bb.edn b/bb.edn new file mode 100644 index 00000000..3e143d7f --- /dev/null +++ b/bb.edn @@ -0,0 +1,7 @@ +{:tasks + {serve (shell "hugo" "server" "-D") + deploy (shell "openrsync --rsync-path=openrsync -av ./public/ qwilfish:/var/www/html/geedeapro") + build (shell "bb" "./build.clj") + pub {:depends [build deploy] + :task (shell "Published!")} + make (shell "open https://invidious.nerdvpn.de/watch?v=YjXfjdCmfD4")}} diff --git a/justfile b/justfile index abbb4f0a..d360de9d 100644 --- a/justfile +++ b/justfile @@ -2,8 +2,7 @@ serve: hugo server -D deploy: - rsync -avz --delete ./public/ eltrac@${GEEDEAPRO_IP}:/var/www/html/geedeapro - + openrsync --rsync-path=openrsync -av ./public/ qwilfish:/var/www/html/geedeapro build: bb ./build.clj -- cgit v1.2.3