summaryrefslogtreecommitdiff
path: root/build.clj
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-07 15:30:14 +0800
committereltrac <hi@eltr.ac>2026-04-07 15:30:14 +0800
commit44c2eb53debe2057df5757d4d8992ffb4894f2f9 (patch)
treef6e4f4ebff0647366a4a724dae208b03a7c26031 /build.clj
parentaf23c8a6514ca62e40ee320e80c7e135723f5052 (diff)
refactor(build): rewrite pnpm shortcut with defmacro
Diffstat (limited to 'build.clj')
-rw-r--r--build.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.clj b/build.clj
index 93227c2..303c578 100644
--- a/build.clj
+++ b/build.clj
@@ -4,8 +4,8 @@
(require '[babashka.tasks :refer [shell]])
(require '[babashka.fs :as fs])
-(defn pnpm [& args]
- (apply shell "pnpm" args))
+(defmacro pnpm [& args]
+ `(shell "pnpm" ~@args))
(defn build-unocss []
(pnpm "build:uno:prod"))