summaryrefslogtreecommitdiff
path: root/build.clj
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-25 18:08:33 +0800
committereltrac <hi@eltr.ac>2026-04-25 18:08:33 +0800
commitd215e713156e2e1b18c0410bdb524e4e31dda2db (patch)
treeadba7b6c766fcc9c84398d2f1a4bda775d81e1f3 /build.clj
parent28f4f7d352ec9455ce66abb6e143c009b9422798 (diff)
chore: new build script
Diffstat (limited to 'build.clj')
-rwxr-xr-xbuild.clj10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.clj b/build.clj
new file mode 100755
index 0000000..22eafb2
--- /dev/null
+++ b/build.clj
@@ -0,0 +1,10 @@
+#!/usr/bin/env bb
+;; Usage: bb build.clj
+
+(require '[babashka.tasks :refer [shell]])
+
+(shell "pnpm" "install")
+(shell "pnpm" "unocss" "**/*.{html,js,md}")
+
+(shell "hugo" "--minify")
+