diff --git a/VERSION b/VERSION deleted file mode 100644 index c5d54ec..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.0.9 diff --git a/build.clj b/build.clj index 744a3e9..dfe42e6 100644 --- a/build.clj +++ b/build.clj @@ -4,7 +4,7 @@ [deps-deploy.deps-deploy :as dd])) (def lib 'org.clojars.some/depo) -(def version (str/trim (slurp "VERSION"))) +(def version (str/trim (slurp "resources/VERSION"))) (def jar-file (format "target/%s-%s.jar" (name lib) version)) (def class-dir "target/classes") (def url "https://github.com/somecho/depo.git") diff --git a/resources/VERSION b/resources/VERSION new file mode 100644 index 0000000..7c1886b --- /dev/null +++ b/resources/VERSION @@ -0,0 +1 @@ +0.0.10 diff --git a/src/depo/core.clj b/src/depo/core.clj index fd7eb84..b3cbe40 100644 --- a/src/depo/core.clj +++ b/src/depo/core.clj @@ -19,7 +19,7 @@ (def CONFIGURATION {:command "depo" :description "manage Clojure dependencies easily" - :version (str/trim (slurp "VERSION")) + :version (str/trim (slurp "resources/VERSION")) :opts [{:as "path to configuration file" :default nil :option "file"