Update REPL loading code to add-lib3 from t.d.a.
This commit is contained in:
parent
347ad43f0b
commit
5e3657c25f
2 changed files with 4 additions and 5 deletions
2
deps.edn
2
deps.edn
|
|
@ -43,7 +43,7 @@
|
|||
:main-opts ["-m" "cognitect.test-runner"
|
||||
"-d" "test"]}
|
||||
:jar
|
||||
{:extra-deps {seancorfield/depstar {:mvn/version "1.1.128"}}
|
||||
{:extra-deps {seancorfield/depstar {:mvn/version "1.1.132"}}
|
||||
:main-opts ["-m" "hf.depstar.jar" "next-jdbc.jar"]}
|
||||
:deploy
|
||||
{:extra-deps {slipset/deps-deploy {:mvn/version "0.1.1"}}
|
||||
|
|
|
|||
|
|
@ -228,10 +228,10 @@ CREATE PROCEDURE FRUITP" (cond (hsqldb?) "() READS SQL DATA DYNAMIC RESULT SETS
|
|||
|
||||
(comment
|
||||
;; this is a convenience to bring next.jdbc's test dependencies
|
||||
;; into any REPL that has the add-lib branch of tools.deps.alpha
|
||||
;; into any REPL that has the add-lib3 branch of tools.deps.alpha
|
||||
;; which allows me to develop and test next.jdbc inside my work's
|
||||
;; "everything" REBL environment
|
||||
(require '[clojure.tools.deps.alpha.repl :refer [add-lib]]
|
||||
(require '[clojure.tools.deps.alpha.repl :refer [add-libs]]
|
||||
'[clojure.java.io :as io]
|
||||
'[clojure.edn :as edn])
|
||||
(def repo-path "/Developer/workspace/next.jdbc")
|
||||
|
|
@ -241,8 +241,7 @@ CREATE PROCEDURE FRUITP" (cond (hsqldb?) "() READS SQL DATA DYNAMIC RESULT SETS
|
|||
:aliases
|
||||
:test
|
||||
:extra-deps))
|
||||
(doseq [[coord version] test-deps]
|
||||
(add-lib coord version))
|
||||
(add-libs test-deps)
|
||||
;; now you can load this file... and then you can load other test
|
||||
;; files and run their tests as needed... which will leave (ds)
|
||||
;; set to the embedded PostgreSQL datasource -- reset it with this:
|
||||
|
|
|
|||
Loading…
Reference in a new issue