@@ -289,7 +289,9 @@ By default we favor the project-specific shadow-cljs over the system-wide."
289289 :package-version '(cider . " 1.14.0" ))
290290
291291(make-obsolete-variable 'cider-lein-global-options 'cider-lein-parameters " 1.8.0" )
292- (make-obsolete-variable 'cider-boot-global-options 'cider-boot-parameters " 1.8.0" )
292+ (make-obsolete-variable 'cider-boot-command nil " 1.8.0" )
293+ (make-obsolete-variable 'cider-boot-parameters nil " 1.8.0" )
294+ (make-obsolete-variable 'cider-boot-global-options nil " 1.8.0" )
293295(make-obsolete-variable 'cider-clojure-cli-global-options 'cider-clojure-cli-parameters " 1.8.0" )
294296(make-obsolete-variable 'cider-shadow-cljs-global-options 'cider-shadow-cljs-parameters " 1.8.0" )
295297(make-obsolete-variable 'cider-gradle-global-options 'cider-gradle-parameters " 1.8.0" )
@@ -300,7 +302,7 @@ By default we favor the project-specific shadow-cljs over the system-wide."
300302 (if (executable-find " clojure" ) 'clojure-cli 'lein )
301303 " The default tool to use when doing `cider-jack-in' outside a project.
302304This value will only be consulted when no identifying file types, i.e.
303- project.clj for leiningen or build.boot for boot , could be found.
305+ project.clj for leiningen or deps.edn for clojure-cli , could be found.
304306
305307As the Clojure CLI is bundled with Clojure itself, it's the default.
306308In the absence of the Clojure CLI (e.g. on Windows), we fallback
@@ -320,7 +322,7 @@ to Leiningen."
320322 nil
321323 " Allow choosing a build system when there are many.
322324When there are project markers from multiple build systems (e.g. lein and
323- boot ) the user is prompted to select one of them. When non-nil, this
325+ clojure-cli ) the user is prompted to select one of them. When non-nil, this
324326variable will suppress this behavior and will select whatever build system
325327is indicated by the variable if present. Note, this is only when CIDER
326328cannot decide which of many build systems to use and will never override a
@@ -432,7 +434,6 @@ The plist supports the following keys
432434 " Determine the command `cider-jack-in' needs to invoke for the PROJECT-TYPE."
433435 (pcase project-type
434436 ('lein cider-lein-command)
435- ('boot cider-boot-command)
436437 ('clojure-cli cider-clojure-cli-command)
437438 ('babashka cider-babashka-command)
438439 ('shadow-cljs cider-shadow-cljs-command)
@@ -477,7 +478,6 @@ Throws an error if PROJECT-TYPE is unknown."
477478 " "
478479 r)
479480 r)))
480- ('boot (cider--resolve-command cider-boot-command))
481481 ('clojure-cli (if (and cider-enrich-classpath
482482 (not (eq system-type 'windows-nt ))
483483 (executable-find (cider--get-enrich-classpath-clojure-cli-script)))
@@ -510,7 +510,6 @@ Throws an error if PROJECT-TYPE is unknown."
510510 " Determine the command line options for `cider-jack-in' for the PROJECT-TYPE."
511511 (pcase project-type
512512 ('lein cider-lein-global-options)
513- ('boot cider-boot-global-options)
514513 ('clojure-cli cider-clojure-cli-global-options)
515514 ('babashka cider-babashka-global-options)
516515 ('shadow-cljs cider-shadow-cljs-global-options)
@@ -527,7 +526,6 @@ Throws an error if PROJECT-TYPE is unknown."
527526 ; ; Please be careful when changing them.
528527 (pcase project-type
529528 ('lein cider-lein-parameters)
530- ('boot cider-boot-parameters)
531529 ('clojure-cli cider-clojure-cli-parameters)
532530 ('babashka cider-babashka-parameters)
533531 ('shadow-cljs cider-shadow-cljs-parameters)
@@ -545,7 +543,7 @@ Throws an error if PROJECT-TYPE is unknown."
545543(defcustom cider-injected-nrepl-version " 1.3.1"
546544 " The version of nREPL injected on jack-in.
547545We inject the newest known version of nREPL just in case
548- your version of Boot or Leiningen is bundling an older one."
546+ your version of Leiningen is bundling an older one."
549547 :type 'string
550548 :package-version '(cider . " 1.2.0" )
551549 :safe #'stringp )
@@ -692,45 +690,13 @@ returned by this function only contains strings."
692690 (car spec)
693691 spec)))))
694692
695- (defun cider--list-as-boot-artifact (list )
696- " Return a boot artifact string described by the elements of LIST.
697- LIST should have the form (ARTIFACT-NAME ARTIFACT-VERSION). The returned
698- string is quoted for passing as argument to an inferior shell."
699- (concat " -d " (shell-quote-argument (format " %s :%s " (car list ) (cadr list )))))
700-
701693(defun cider--jack-in-required-dependencies ()
702694 " Returns the required CIDER deps.
703695They are normally added to `cider-jack-in-dependencies' ,
704696unless it's a Lein project."
705697 `((" nrepl/nrepl" , cider-injected-nrepl-version )
706698 (" cider/cider-nrepl" , cider-injected-middleware-version )))
707699
708- (defun cider-boot-dependencies (dependencies )
709- " Return a list of boot artifact strings created from DEPENDENCIES."
710- (concat (mapconcat #'cider--list-as-boot-artifact dependencies " " )
711- (unless (seq-empty-p dependencies) " " )))
712-
713- (defun cider-boot-middleware-task (params middlewares )
714- " Create a command to add MIDDLEWARES with corresponding PARAMS."
715- (concat " cider.tasks/add-middleware "
716- (mapconcat (lambda (middleware )
717- (format " -m %s " (shell-quote-argument middleware)))
718- middlewares
719- " " )
720- " " params))
721-
722- (defun cider-boot-jack-in-dependencies (global-opts params dependencies middlewares )
723- " Create boot jack-in dependencies.
724- Does so by concatenating GLOBAL-OPTS, DEPENDENCIES,
725- and MIDDLEWARES. PARAMS and MIDDLEWARES are passed on to
726- `cider-boot-middleware-task` before concatenating and DEPENDENCIES
727- are passed on to `cider-boot-dependencies`."
728- (concat global-opts
729- (unless (seq-empty-p global-opts) " " )
730- " -i \" (require 'cider.tasks)\" " ; ; Note the space at the end here
731- (cider-boot-dependencies (append (cider--jack-in-required-dependencies) dependencies))
732- (cider-boot-middleware-task params middlewares)))
733-
734700(defun cider--gradle-dependency-notation (dependency )
735701 " Returns Gradle's GAV dependency syntax.
736702For a \" group/artifact\" \" version\" ) DEPENDENCY list
@@ -959,8 +925,8 @@ See also `cider-jack-in-auto-inject-clojure'."
959925These are set in `cider-jack-in-dependencies' , `cider-jack-in-lein-plugins'
960926and `cider-jack-in-nrepl-middlewares' are injected from the CLI according
961927to the used PROJECT-TYPE, and COMMAND if provided. Eliminates the need for
962- hacking profiles.clj or the boot script for supporting CIDER with its nREPL
963- middleware and dependencies."
928+ hacking profiles.clj for supporting CIDER with its nREPL middleware and
929+ dependencies."
964930 (pcase project-type
965931 ('lein (cider-lein-jack-in-dependencies
966932 global-opts
@@ -970,12 +936,6 @@ middleware and dependencies."
970936 cider-jack-in-dependencies-exclusions
971937 (cider-jack-in-normalized-lein-plugins)
972938 cider-jack-in-lein-middlewares))
973- ('boot (cider-boot-jack-in-dependencies
974- global-opts
975- params
976- (cider-add-clojure-dependencies-maybe
977- cider-jack-in-dependencies)
978- (cider-jack-in-normalized-nrepl-middlewares)))
979939 ('clojure-cli (cider-clojure-cli-jack-in-dependencies
980940 global-opts
981941 params
@@ -1057,12 +1017,6 @@ Generally you should not disable this unless you run into some faulty check."
10571017 (unless (cider-library-present-p " weasel.repl.server" )
10581018 (user-error " Weasel in not available. Please check https://docs.cider.mx/cider/basics/clojurescript/#browser-connected-clojurescript-repl for details" )))
10591019
1060- (defun cider-check-boot-requirements ()
1061- " Check whether we can start a Boot ClojureScript REPL."
1062- (cider-verify-piggieback-is-present)
1063- (unless (cider-library-present-p " adzerk.boot-cljs-repl" )
1064- (user-error " The Boot ClojureScript REPL is not available. Please check https://github.com/adzerk-oss/boot-cljs-repl/blob/master/README.md for details" )))
1065-
10661020(defun cider-check-krell-requirements ()
10671021 " Check whether we can start a Krell ClojureScript REPL."
10681022 (cider-verify-piggieback-is-present)
@@ -1223,8 +1177,6 @@ The supplied string will be wrapped in a do form if needed."
12231177 cider-check-node-requirements)
12241178 (weasel " (do (require 'weasel.repl.websocket) (cider.piggieback/cljs-repl (weasel.repl.websocket/repl-env :ip \" 127.0.0.1\" :port 9001)))"
12251179 cider-check-weasel-requirements)
1226- (boot " (do (require 'adzerk.boot-cljs-repl) (adzerk.boot-cljs-repl/start-repl))"
1227- cider-check-boot-requirements)
12281180 (shadow cider-shadow-cljs-init-form cider-check-shadow-cljs-requirements)
12291181 (shadow-select cider-shadow-select-cljs-init-form cider-check-shadow-cljs-requirements)
12301182 (krell " (require '[clojure.edn :as edn]
@@ -2072,7 +2024,6 @@ Search for lein or java processes including nrepl.command nREPL."
20722024PROJECT-DIR defaults to current project."
20732025 (let* ((default-directory (or project-dir (clojure-project-dir (cider-current-dir))))
20742026 (build-files '((lein . " project.clj" )
2075- (boot . " build.boot" )
20762027 (clojure-cli . " deps.edn" )
20772028 (babashka . " bb.edn" )
20782029 (shadow-cljs . " shadow-cljs.edn" )
0 commit comments