update test dep loading to Clojure 1.12 Alpha 2
This commit is contained in:
parent
b888ed12e0
commit
0d5758d839
1 changed files with 4 additions and 7 deletions
|
|
@ -238,16 +238,13 @@ CREATE PROCEDURE FRUITP" (cond (hsqldb?) "() READS SQL DATA DYNAMIC RESULT SETS
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
;; this is a convenience to bring next.jdbc's test dependencies
|
;; this is a convenience to bring next.jdbc's test dependencies
|
||||||
;; into any REPL that has the add-lib3 branch of tools.deps.alpha
|
;; into any REPL running Clojure 1.12.0 Alpha 2's new add-libs API
|
||||||
;; which allows me to develop and test next.jdbc inside my work's
|
;; which allows me to develop and test next.jdbc inside my work's
|
||||||
;; "everything" REPL environment
|
;; "everything" REPL environment
|
||||||
(require '[clojure.tools.deps.alpha.repl :refer [add-libs]]
|
(require '[clojure.repl.deps :refer [add-libs]]
|
||||||
'[clojure.java.io :as io]
|
|
||||||
'[clojure.edn :as edn])
|
'[clojure.edn :as edn])
|
||||||
(def repo-path "/Developer/workspace/next.jdbc")
|
(def test-deps (-> (slurp "https://raw.githubusercontent.com/seancorfield/next-jdbc/develop/deps.edn")
|
||||||
(def test-deps (-> (io/reader (str repo-path "/deps.edn"))
|
(edn/read-string)
|
||||||
(java.io.PushbackReader.)
|
|
||||||
(edn/read)
|
|
||||||
:aliases
|
:aliases
|
||||||
:test
|
:test
|
||||||
:extra-deps))
|
:extra-deps))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue