Skip to content

Commit

Permalink
Merge pull request juxt#60 from mikepjb/master
Browse files Browse the repository at this point in the history
use tools.deps.alpha map
  • Loading branch information
SevereOverfl0w authored Oct 3, 2019
2 parents f718718 + e03bd0a commit 042c614
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 37 deletions.
3 changes: 2 additions & 1 deletion deps.edn
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{:paths ["src"]
:deps {org.clojure/tools.deps.alpha {:mvn/version "0.6.496"}
:deps {org.clojure/tools.deps.alpha {:mvn/version "0.7.541"}
org.slf4j/slf4j-nop {:mvn/version "1.6.2"}
me.raynes/fs {:mvn/version "1.4.6"}
co.paralleluniverse/capsule {:mvn/version "1.0.3"}
org.clojure/tools.cli {:mvn/version "0.4.1"}
Expand Down
9 changes: 1 addition & 8 deletions src/mach/pack/alpha/impl/tools_deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@

(cli/parse-opts ["-A:foo:bar" "-R:bug" "-C:blah/baz" "-A:definitely"] cli-spec))

(defn system-edn
[]
(-> "mach/pack/alpha/system_deps.edn"
io/resource
slurp
edn/read-string))

(defn config-edn
[]
(let [config-env (System/getenv "CLJ_CONFIG")
Expand Down Expand Up @@ -91,7 +84,7 @@
;; opts is return of cli-opts, except ::deps-path
(defn parse-deps-map
[deps-map {::keys [resolve-aliases makecp-aliases extra]}]
(let [deps-map (tools.deps.reader/merge-deps [(system-edn) (config-edn) deps-map])
(let [deps-map (tools.deps.reader/merge-deps [(tools.deps.reader/install-deps) (config-edn) deps-map])

resolve-args (tools.deps/combine-aliases deps-map resolve-aliases)
cp-args (tools.deps/combine-aliases deps-map makecp-aliases)]
Expand Down
11 changes: 0 additions & 11 deletions src/mach/pack/alpha/impl/util.clj

This file was deleted.

1 change: 0 additions & 1 deletion src/mach/pack/alpha/one_jar.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
[clojure.tools.cli :as cli]
[mach.pack.alpha.impl.tools-deps :as tools-deps]
[mach.pack.alpha.impl.elodin :as elodin]
[mach.pack.alpha.impl.util :refer [system-edn]]
[mach.pack.alpha.impl.lib-map :as lib-map]
[mach.pack.alpha.impl.vfs :as vfs]
[me.raynes.fs :as fs])
Expand Down
16 changes: 0 additions & 16 deletions src/mach/pack/alpha/system_deps.edn

This file was deleted.

0 comments on commit 042c614

Please sign in to comment.