summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-10-25 00:31:41 +0800
committereltrac <hi@eltr.ac>2026-10-25 00:31:41 +0800
commitc4f39307b6a29660e444ecb84d83bca048e8408c (patch)
treeb6de917655099686867bc77ca65e6acdd9e6e10f
parent3bcc6aef8da32efb83029743e006cd80cbdad6e9 (diff)
[chore] update .gitignore; add babashka tasks; use openrsync to replace rsync
-rw-r--r--.gitignore2
-rw-r--r--bb.edn7
-rw-r--r--justfile3
3 files changed, 9 insertions, 3 deletions
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