Fork me on GitHub
#spacemacs
<
2019-10-12
>
murtaza5215:10:46

Below is my deps.edn -

{:paths ["resources" "src"]
 :deps {org.clojure/clojure {:mvn/version "1.10.1"}
        ring/ring-defaults {:mvn/version "0.3.2"}
        compojure {:mvn/version "1.6.1"}}
 :aliases
 {:test {:extra-paths ["test"]
         :extra-deps {org.clojure/test.check {:mvn/version "0.10.0"}}}
  :runner
  {:extra-deps {com.cognitect/test-runner
                {:git/url ""
                 :sha "76568540e7f40268ad2b646110f237a60295fa3c"}}
   :main-opts ["-m" "cognitect.test-runner"
               "-d" "test"]}}}
The test.check dep is specified in the :test alias, however I want to make to available on the repl during development. When I start cider using SPC m ', the dep is not included.

practicalli-john22:10:25

@murtaza52 this article should give you the answer. Either use SPC u before the command to start the REPL, or create a .dir-local.el file. http://jr0cket.co.uk/2019/07/CIDER-jack-in-to-Clojure-CLI-projects-from-Spacemacs.html If you upgrade to latest Cider, published a couple of days ago, they may let you select also (haven’t looked into this yet)