Skip to content

Commit

Permalink
move VERSION to resources
Browse files Browse the repository at this point in the history
  • Loading branch information
somecho committed Jul 2, 2023
1 parent f733190 commit f874721
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions resources/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.10
2 changes: 1 addition & 1 deletion src/depo/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f874721

Please sign in to comment.