summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-11-03 01:08:53 +0800
committereltrac <hi@eltr.ac>2026-11-03 01:08:53 +0800
commit3b02353138b48e34d3f24a4636e9ec7420fc3903 (patch)
tree784a56b22883d281397acc3740af366a60bd5762 /justfile
parentca0205d576d2dd2e0f8bd633344233ed2618cd99 (diff)
[chore] replace justfile with bb.edn
Diffstat (limited to 'justfile')
-rw-r--r--justfile38
1 files changed, 0 insertions, 38 deletions
diff --git a/justfile b/justfile
deleted file mode 100644
index d360de9d..00000000
--- a/justfile
+++ /dev/null
@@ -1,38 +0,0 @@
-serve:
- hugo server -D
-
-deploy:
- openrsync --rsync-path=openrsync -av ./public/ qwilfish:/var/www/html/geedeapro
-build:
- bb ./build.clj
-
-pub: build deploy
-
-write section name:
- hugo new content {{section}}/{{name}}.md
- nvim ./content/{{section}}/{{name}}.md
-
-article name: (write "article" name)
-
-weekly name: (write "weekly" name)
-
-fiction name: (write "fiction" name)
-
-library name:
- #!/usr/bin/env bb
- (require '[babashka.tasks :refer [shell]])
- (import 'java.time.format.DateTimeFormatter
- 'java.time.LocalDateTime)
- (def date (LocalDateTime/now))
- (def formatter (DateTimeFormatter/ofPattern "yyyy"))
- (def year (.format date formatter))
- (shell "just" "write" (str "library/" year) "{{name}}")
-
-make:
- open https://invidious.nerdvpn.de/watch?v=YjXfjdCmfD4
-
-ring:
- @printf '\a'
-
-me:
- @echo "Hey, kids. Spelling is fun!"