Skip to content

Commit

Permalink
0.2.26 - fix #11 and #9
Browse files Browse the repository at this point in the history
  • Loading branch information
somecho committed Jul 5, 2023
1 parent dc764f3 commit d51bd5c
Show file tree
Hide file tree
Showing 8 changed files with 413 additions and 505 deletions.
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[deps-deploy.deps-deploy :as dd]))

(def lib 'org.clojars.some/depo)
(def version "0.1.25")
(def version "0.2.26")
(def jar-file (format "target/%s-%s.jar" (name lib) version))
(def class-dir "target/classes")
(def url "https://github.com/somecho/depo")
Expand Down
5 changes: 3 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
cli-matic/cli-matic {:mvn/version "0.5.4"},
clj-http/clj-http {:mvn/version "3.12.3"},
metosin/malli {:mvn/version "0.11.0"},
zprint/zprint {:mvn/version "1.2.7"}}
zprint/zprint {:mvn/version "1.2.7"}
org.flatland/ordered {:mvn/version "1.15.11"}}
:aliases
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.85.1342"}}
:main-opts ["-m" "kaocha.runner"]}
:build {:extra-deps {io.github.clojure/tools.build {:mvn/version
"0.9.4"},
slipset/deps-deploy {:mvn/version "RELEASE"}},
:ns-default build}
:generate {:ns-default generate}}}
:generate {:ns-default generate}}}
2 changes: 1 addition & 1 deletion src/depo/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(def CONFIGURATION
{:command "depo"
:description "Manage dependencies for Clojure projects easily"
:version "0.1.25"
:version "0.2.26"
:opts [{:as "path to configuration file"
:default nil
:option "file"
Expand Down
8 changes: 4 additions & 4 deletions src/depo/readwrite.clj
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@
:keys access-keys})
(zp/zprint-str {:parse-string? true
:style :indent-only})
(as-> newconf (spit newconf config-path)))))
(as-> newconf (spit config-path newconf)))))
; println)))

; (apply-operation {:config-path "test/resources/input/deps.edn"
; :id "org.flatland/ordered"
; :operation :remove})
(apply-operation {:config-path "deps.edn"
:id "org.flatland/ordered"
:operation :add})
27 changes: 11 additions & 16 deletions test/resources/snapshots/add-multiple/bb.edn
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{:deps
{reagent/reagent {:mvn/version "1.2.0"},
metosin/malli {:mvn/version "0.10.0"},
lambdaisland/kaocha {:local/root "."},
lambdaisland/open-source
{:git/url "https://github.com/lambdaisland/open-source",
:git/sha "4d6019ed2805f701c0d626732c5a886542e3b83b"},

org.clojure/java.jdbc {:mvn/version "0.7.12"}},

{reagent/reagent {:mvn/version "1.2.0"}
metosin/malli {:mvn/version "0.10.0"}
lambdaisland/kaocha {:local/root "."}
lambdaisland/open-source {:git/url "https://github.com/lambdaisland/open-source"
:git/sha "4d6019ed2805f701c0d626732c5a886542e3b83b"
#_#_:local/root "../open-source"}
org.clojure/java.jdbc {:mvn/version "0.7.12"}}
:tasks
{test:bb
{:extra-deps {nubank/matcher-combinators {:mvn/version "3.8.5"}},
:extra-paths ["test/bb"],
:requires ([kaocha.runner]),
:task
(apply kaocha.runner/-main
"bb" "--config-file"
"bb-tests.edn" *command-line-args*)}}}
{:extra-deps {nubank/matcher-combinators {:mvn/version "3.8.5"}}
:extra-paths ["test/bb"]
:requires ([kaocha.runner])
:task (apply kaocha.runner/-main "bb" "--config-file" "bb-tests.edn" *command-line-args*)}}}
Loading

0 comments on commit d51bd5c

Please sign in to comment.