@@ -15,14 +15,14 @@ Use the convenient plugin for defaults, either in your project's
15
15
16
16
[source,clojure]
17
17
----
18
- :plugins [[cider/cider-nrepl "0.25.0 "]]
18
+ :plugins [[cider/cider-nrepl "0.25.1 "]]
19
19
----
20
20
21
21
A minimal `profiles.clj` for CIDER would be:
22
22
23
23
[source,clojure]
24
24
----
25
- {:user {:plugins [[cider/cider-nrepl "0.25.0 "]]}}
25
+ {:user {:plugins [[cider/cider-nrepl "0.25.1 "]]}}
26
26
----
27
27
28
28
Or (if you know what you're doing) add `cider-nrepl` to your `:dev
@@ -31,7 +31,7 @@ under `:repl-options`.
31
31
32
32
[source,clojure]
33
33
----
34
- :dependencies [[cider/cider-nrepl "0.25.0 "]]
34
+ :dependencies [[cider/cider-nrepl "0.25.1 "]]
35
35
:repl-options {:nrepl-middleware
36
36
[cider.nrepl/wrap-apropos
37
37
cider.nrepl/wrap-classpath
@@ -64,15 +64,15 @@ it on the command line through the `cider.tasks/add-middleware` task
64
64
functionality):
65
65
66
66
----
67
- boot -d nrepl:0.6 .0 -d cider/cider-nrepl:0.25.0 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --server wait
67
+ boot -d nrepl:0.7 .0 -d cider/cider-nrepl:0.25.1 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --server wait
68
68
----
69
69
70
70
Or for all of their projects by adding a `~/.boot/profile.boot` file like so:
71
71
72
72
[source,clojure]
73
73
----
74
- (set-env! :dependencies '[[nrepl "0.6 .0"]
75
- [cider/cider-nrepl "0.25.0 "]])
74
+ (set-env! :dependencies '[[nrepl "0.7 .0"]
75
+ [cider/cider-nrepl "0.25.1 "]])
76
76
77
77
(require '[cider.tasks :refer [add-middleware]])
78
78
@@ -88,11 +88,13 @@ For more information visit https://github.com/boot-clj/boot/wiki/Cider-REPL[boot
88
88
89
89
== Via clj
90
90
91
+ NOTE: `clj` was introduced in Clojure 1.9.
92
+
91
93
You can easily boot an nREPL server with the CIDER middleware loaded
92
94
with the following "magic" incantation:
93
95
94
96
----
95
- clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.25.0 "} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
97
+ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.25.1 "} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
96
98
----
97
99
98
100
There are also two convenient aliases you can employ:
@@ -102,12 +104,12 @@ There are also two convenient aliases you can employ:
102
104
{...
103
105
:aliases
104
106
{:cider-clj {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
105
- cider/cider-nrepl {:mvn/version "0.25.0 "}}
107
+ cider/cider-nrepl {:mvn/version "0.25.1 "}}
106
108
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}
107
109
108
110
:cider-cljs {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
109
111
org.clojure/clojurescript {:mvn/version "1.10.339"}
110
- cider/cider-nrepl {:mvn/version "0.25.0 "}
112
+ cider/cider-nrepl {:mvn/version "0.25.1 "}
111
113
cider/piggieback {:mvn/version "0.4.1"}}
112
114
:main-opts ["-m" "nrepl.cmdline" "--middleware"
113
115
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}}}
@@ -119,9 +121,7 @@ Which then allow you to simply run:
119
121
clj -A:cider-clj
120
122
----
121
123
122
- Note that `clj` was introduced in Clojure 1.9.
123
-
124
- == Via embedding nREPL in your app
124
+ == Via embedding nREPL in your application
125
125
126
126
If you're embedding nREPL in your application you'll have to start the
127
127
server with CIDER's own nREPL handler.
0 commit comments