Skip to content

Commit 01d728a

Browse files
committed
Use the clojure-cli terminology consistently in the code
1 parent e314aee commit 01d728a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

cider.el

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ cannot decide which of many build systems to use and will never override a
233233
command when there is no ambiguity."
234234
:type '(choice (const "lein")
235235
(const "boot")
236-
(const "clojure")
236+
(const "clojure-cli")
237237
(const "shadow-cljs")
238238
(const "gradle")
239239
(const :tag "Always ask" nil))
@@ -315,7 +315,7 @@ Sub-match 1 must be the project path.")
315315
(pcase project-type
316316
("lein" cider-lein-command)
317317
("boot" cider-boot-command)
318-
("clojure" cider-clojure-cli-command)
318+
("clojure-cli" cider-clojure-cli-command)
319319
("shadow-cljs" cider-shadow-cljs-command)
320320
("gradle" cider-gradle-command)
321321
(_ (user-error "Unsupported project type `%s'" project-type))))
@@ -327,7 +327,7 @@ Throws an error if PROJECT-TYPE is unknown. Known types are
327327
(pcase project-type
328328
("lein" (cider--lein-resolve-command))
329329
("boot" (cider--boot-resolve-command))
330-
("clojure" (cider--clojure-cli-resolve-command))
330+
("clojure-cli" (cider--clojure-cli-resolve-command))
331331
("shadow-cljs" (cider--shadow-cljs-resolve-command))
332332
("gradle" (cider--gradle-resolve-command))
333333
(_ (user-error "Unsupported project type `%s'" project-type))))
@@ -337,7 +337,7 @@ Throws an error if PROJECT-TYPE is unknown. Known types are
337337
(pcase project-type
338338
("lein" cider-lein-global-options)
339339
("boot" cider-boot-global-options)
340-
("clojure" cider-clojure-cli-global-options)
340+
("clojure-cli" cider-clojure-cli-global-options)
341341
("shadow-cljs" cider-shadow-cljs-global-options)
342342
("gradle" cider-gradle-global-options)
343343
(_ (user-error "Unsupported project type `%s'" project-type))))
@@ -347,7 +347,7 @@ Throws an error if PROJECT-TYPE is unknown. Known types are
347347
(pcase project-type
348348
("lein" cider-lein-parameters)
349349
("boot" cider-boot-parameters)
350-
("clojure" cider-clojure-cli-parameters)
350+
("clojure-cli" cider-clojure-cli-parameters)
351351
("shadow-cljs" cider-shadow-cljs-parameters)
352352
("gradle" cider-gradle-parameters)
353353
(_ (user-error "Unsupported project type `%s'" project-type))))
@@ -463,7 +463,7 @@ removed, LEIN-PLUGINS, and finally PARAMS."
463463
" -- "
464464
params))
465465

466-
(defun cider-clojure-jack-in-dependencies (global-opts params dependencies)
466+
(defun cider-clojure-cli-jack-in-dependencies (global-opts params dependencies)
467467
"Create Clojure tools.deps jack-in dependencies.
468468
Does so by concatenating GLOBAL-OPTS, DEPENDENCIES finally PARAMS."
469469
(let ((dependencies (append dependencies
@@ -532,11 +532,11 @@ dependencies."
532532
cider-jack-in-dependencies)
533533
cider-jack-in-lein-plugins
534534
cider-jack-in-nrepl-middlewares))
535-
("clojure" (cider-clojure-jack-in-dependencies
536-
global-opts
537-
params
538-
(cider-add-clojure-dependencies-maybe
539-
cider-jack-in-dependencies)))
535+
("clojure-cli" (cider-clojure-cli-jack-in-dependencies
536+
global-opts
537+
params
538+
(cider-add-clojure-dependencies-maybe
539+
cider-jack-in-dependencies)))
540540
("shadow-cljs" (cider-shadow-cljs-jack-in-dependencies
541541
global-opts
542542
params
@@ -948,7 +948,7 @@ Use `cider-ps-running-nrepls-command' and `cider-ps-running-nrepl-path-regexp-li
948948
(let* ((default-directory (clojure-project-dir (cider-current-dir)))
949949
(build-files '(("lein" . "project.clj")
950950
("boot" . "build.boot")
951-
("clojure" . "deps.edn")
951+
("clojure-cli" . "deps.edn")
952952
("shadow-cljs" . "shadow-cljs.edn")
953953
("gradle" . "build.gradle"))))
954954
(delq nil

0 commit comments

Comments
 (0)