@@ -289,7 +289,10 @@ 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-lein-global-options 'cider-lein-parameters " 1.8.0" )
293+ (make-obsolete-variable 'cider-boot-command nil " 1.8.0" )
294+ (make-obsolete-variable 'cider-boot-parameters nil " 1.8.0" )
295+ (make-obsolete-variable 'cider-boot-global-options nil " 1.8.0" )
293296(make-obsolete-variable 'cider-clojure-cli-global-options 'cider-clojure-cli-parameters " 1.8.0" )
294297(make-obsolete-variable 'cider-shadow-cljs-global-options 'cider-shadow-cljs-parameters " 1.8.0" )
295298(make-obsolete-variable 'cider-gradle-global-options 'cider-gradle-parameters " 1.8.0" )
@@ -300,7 +303,7 @@ By default we favor the project-specific shadow-cljs over the system-wide."
300303 (if (executable-find " clojure" ) 'clojure-cli 'lein )
301304 " The default tool to use when doing `cider-jack-in' outside a project.
302305This 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.
306+ project.clj for leiningen or deps.edn for clojure-cli , could be found.
304307
305308As the Clojure CLI is bundled with Clojure itself, it's the default.
306309In the absence of the Clojure CLI (e.g. on Windows), we fallback
@@ -320,7 +323,7 @@ to Leiningen."
320323 nil
321324 " Allow choosing a build system when there are many.
322325When 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
326+ clojure-cli ) the user is prompted to select one of them. When non-nil, this
324327variable will suppress this behavior and will select whatever build system
325328is indicated by the variable if present. Note, this is only when CIDER
326329cannot decide which of many build systems to use and will never override a
@@ -432,7 +435,6 @@ The plist supports the following keys
432435 " Determine the command `cider-jack-in' needs to invoke for the PROJECT-TYPE."
433436 (pcase project-type
434437 ('lein cider-lein-command)
435- ('boot cider-boot-command)
436438 ('clojure-cli cider-clojure-cli-command)
437439 ('babashka cider-babashka-command)
438440 ('shadow-cljs cider-shadow-cljs-command)
@@ -477,7 +479,6 @@ Throws an error if PROJECT-TYPE is unknown."
477479 " "
478480 r)
479481 r)))
480- ('boot (cider--resolve-command cider-boot-command))
481482 ('clojure-cli (if (and cider-enrich-classpath
482483 (not (eq system-type 'windows-nt ))
483484 (executable-find (cider--get-enrich-classpath-clojure-cli-script)))
@@ -510,7 +511,6 @@ Throws an error if PROJECT-TYPE is unknown."
510511 " Determine the command line options for `cider-jack-in' for the PROJECT-TYPE."
511512 (pcase project-type
512513 ('lein cider-lein-global-options)
513- ('boot cider-boot-global-options)
514514 ('clojure-cli cider-clojure-cli-global-options)
515515 ('babashka cider-babashka-global-options)
516516 ('shadow-cljs cider-shadow-cljs-global-options)
@@ -527,7 +527,6 @@ Throws an error if PROJECT-TYPE is unknown."
527527 ; ; Please be careful when changing them.
528528 (pcase project-type
529529 ('lein cider-lein-parameters)
530- ('boot cider-boot-parameters)
531530 ('clojure-cli cider-clojure-cli-parameters)
532531 ('babashka cider-babashka-parameters)
533532 ('shadow-cljs cider-shadow-cljs-parameters)
@@ -545,7 +544,7 @@ Throws an error if PROJECT-TYPE is unknown."
545544(defcustom cider-injected-nrepl-version " 1.3.1"
546545 " The version of nREPL injected on jack-in.
547546We inject the newest known version of nREPL just in case
548- your version of Boot or Leiningen is bundling an older one."
547+ your version of Leiningen is bundling an older one."
549548 :type 'string
550549 :package-version '(cider . " 1.2.0" )
551550 :safe #'stringp )
@@ -692,45 +691,13 @@ returned by this function only contains strings."
692691 (car spec)
693692 spec)))))
694693
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-
701694(defun cider--jack-in-required-dependencies ()
702695 " Returns the required CIDER deps.
703696They are normally added to `cider-jack-in-dependencies' ,
704697unless it's a Lein project."
705698 `((" nrepl/nrepl" , cider-injected-nrepl-version )
706699 (" cider/cider-nrepl" , cider-injected-middleware-version )))
707700
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-
734701(defun cider--gradle-dependency-notation (dependency )
735702 " Returns Gradle's GAV dependency syntax.
736703For a \" group/artifact\" \" version\" ) DEPENDENCY list
@@ -959,8 +926,8 @@ See also `cider-jack-in-auto-inject-clojure'."
959926These are set in `cider-jack-in-dependencies' , `cider-jack-in-lein-plugins'
960927and `cider-jack-in-nrepl-middlewares' are injected from the CLI according
961928to 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."
929+ hacking profiles.clj for supporting CIDER with its nREPL middleware and
930+ dependencies."
964931 (pcase project-type
965932 ('lein (cider-lein-jack-in-dependencies
966933 global-opts
@@ -970,12 +937,6 @@ middleware and dependencies."
970937 cider-jack-in-dependencies-exclusions
971938 (cider-jack-in-normalized-lein-plugins)
972939 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)))
979940 ('clojure-cli (cider-clojure-cli-jack-in-dependencies
980941 global-opts
981942 params
@@ -1057,12 +1018,6 @@ Generally you should not disable this unless you run into some faulty check."
10571018 (unless (cider-library-present-p " weasel.repl.server" )
10581019 (user-error " Weasel in not available. Please check https://docs.cider.mx/cider/basics/clojurescript/#browser-connected-clojurescript-repl for details" )))
10591020
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-
10661021(defun cider-check-krell-requirements ()
10671022 " Check whether we can start a Krell ClojureScript REPL."
10681023 (cider-verify-piggieback-is-present)
@@ -1223,8 +1178,6 @@ The supplied string will be wrapped in a do form if needed."
12231178 cider-check-node-requirements)
12241179 (weasel " (do (require 'weasel.repl.websocket) (cider.piggieback/cljs-repl (weasel.repl.websocket/repl-env :ip \" 127.0.0.1\" :port 9001)))"
12251180 cider-check-weasel-requirements)
1226- (boot " (do (require 'adzerk.boot-cljs-repl) (adzerk.boot-cljs-repl/start-repl))"
1227- cider-check-boot-requirements)
12281181 (shadow cider-shadow-cljs-init-form cider-check-shadow-cljs-requirements)
12291182 (shadow-select cider-shadow-select-cljs-init-form cider-check-shadow-cljs-requirements)
12301183 (krell " (require '[clojure.edn :as edn]
@@ -2072,7 +2025,6 @@ Search for lein or java processes including nrepl.command nREPL."
20722025PROJECT-DIR defaults to current project."
20732026 (let* ((default-directory (or project-dir (clojure-project-dir (cider-current-dir))))
20742027 (build-files '((lein . " project.clj" )
2075- (boot . " build.boot" )
20762028 (clojure-cli . " deps.edn" )
20772029 (babashka . " bb.edn" )
20782030 (shadow-cljs . " shadow-cljs.edn" )
0 commit comments