From 0621f37bb73b2866f46d541be50684e309dd07d1 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 2 Apr 2026 15:57:06 +0300 Subject: [PATCH] Prepare and build JAR in install task Delete target dir, write the POM, copy resources/src into class directory, and create the JAR before running install --- build.clj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.clj b/build.clj index 639e889..30a5378 100644 --- a/build.clj +++ b/build.clj @@ -58,7 +58,11 @@ opts) (defn install "Install the JAR locally." [opts] + (b/delete {:path "target"}) (let [opts (jar-opts opts)] + (b/write-pom opts) + (b/copy-dir {:src-dirs ["resources" "src"] :target-dir class-dir}) + (b/jar opts) (b/install opts)) opts) -- 2.51.2