This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-12
Channels
- # aleph (1)
- # announcements (1)
- # beginners (54)
- # calva (11)
- # clojure (55)
- # clojure-france (1)
- # clojure-italy (4)
- # clojure-spec (10)
- # clojure-uk (7)
- # clojurescript (3)
- # cursive (3)
- # data-science (8)
- # datomic (10)
- # emacs (1)
- # fulcro (21)
- # graalvm (2)
- # jobs (1)
- # kaocha (1)
- # nrepl (1)
- # nyc (1)
- # other-languages (5)
- # reitit (8)
- # rum (5)
- # shadow-cljs (84)
- # spacemacs (2)
- # sql (20)
- # testing (3)
- # vim (1)
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.@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)