From a1dffc24b0e946375cf638c6bfd81c96f1aacd34 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Wed, 22 Sep 2021 12:49:34 -0500 Subject: [PATCH] Remove references to resources in the build file --- build.clj | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build.clj b/build.clj index a6f9c4b..471cb51 100644 --- a/build.clj +++ b/build.clj @@ -14,7 +14,6 @@ deployments. Use the `:deploy` alias to deploy to clojars." (:require [clojure.java.io :as io] - [clojure.string :as str] [clojure.tools.build.api :as b])) (def lib-coord 'org.suskalo/coffi) @@ -53,8 +52,7 @@ :connection "scm:git:git://github.com/IGJoshua/coffi.git" :developerConnection "scm:git:ssh://git@github.com/IGJoshua/coffi.git" :tag (str "v" version)} - :src-dirs source-dirs - :resource-dirs resource-dirs})) + :src-dirs source-dirs})) opts) (defn pom @@ -70,13 +68,10 @@ (defn jar "Generates a `coffi.jar` file in the `target/` directory. - This is a thin jar including only the sources and resources." + This is a thin jar including only the sources." [opts] (write-pom opts) - (copy-resources opts) (when-not (exists? target-dir jar-file) - (b/copy-dir {:target-dir class-dir - :src-dirs resource-dirs}) (b/jar {:class-dir class-dir :jar-file jar-file})) opts)