@@ -289,7 +289,9 @@ By default we favor the project-specific shadow-cljs over the system-wide."
289
289
:package-version '(cider . " 1.14.0" ))
290
290
291
291
(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" )
293
295
(make-obsolete-variable 'cider-clojure-cli-global-options 'cider-clojure-cli-parameters " 1.8.0" )
294
296
(make-obsolete-variable 'cider-shadow-cljs-global-options 'cider-shadow-cljs-parameters " 1.8.0" )
295
297
(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."
300
302
(if (executable-find " clojure" ) 'clojure-cli 'lein )
301
303
" The default tool to use when doing `cider-jack-in' outside a project.
302
304
This 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.
304
306
305
307
As the Clojure CLI is bundled with Clojure itself, it's the default.
306
308
In the absence of the Clojure CLI (e.g. on Windows), we fallback
@@ -320,7 +322,7 @@ to Leiningen."
320
322
nil
321
323
" Allow choosing a build system when there are many.
322
324
When 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
324
326
variable will suppress this behavior and will select whatever build system
325
327
is indicated by the variable if present. Note, this is only when CIDER
326
328
cannot decide which of many build systems to use and will never override a
@@ -432,7 +434,6 @@ The plist supports the following keys
432
434
" Determine the command `cider-jack-in' needs to invoke for the PROJECT-TYPE."
433
435
(pcase project-type
434
436
('lein cider-lein-command)
435
- ('boot cider-boot-command)
436
437
('clojure-cli cider-clojure-cli-command)
437
438
('babashka cider-babashka-command)
438
439
('shadow-cljs cider-shadow-cljs-command)
@@ -477,7 +478,6 @@ Throws an error if PROJECT-TYPE is unknown."
477
478
" "
478
479
r)
479
480
r)))
480
- ('boot (cider--resolve-command cider-boot-command))
481
481
('clojure-cli (if (and cider-enrich-classpath
482
482
(not (eq system-type 'windows-nt ))
483
483
(executable-find (cider--get-enrich-classpath-clojure-cli-script)))
@@ -510,7 +510,6 @@ Throws an error if PROJECT-TYPE is unknown."
510
510
" Determine the command line options for `cider-jack-in' for the PROJECT-TYPE."
511
511
(pcase project-type
512
512
('lein cider-lein-global-options)
513
- ('boot cider-boot-global-options)
514
513
('clojure-cli cider-clojure-cli-global-options)
515
514
('babashka cider-babashka-global-options)
516
515
('shadow-cljs cider-shadow-cljs-global-options)
@@ -527,7 +526,6 @@ Throws an error if PROJECT-TYPE is unknown."
527
526
; ; Please be careful when changing them.
528
527
(pcase project-type
529
528
('lein cider-lein-parameters)
530
- ('boot cider-boot-parameters)
531
529
('clojure-cli cider-clojure-cli-parameters)
532
530
('babashka cider-babashka-parameters)
533
531
('shadow-cljs cider-shadow-cljs-parameters)
@@ -545,7 +543,7 @@ Throws an error if PROJECT-TYPE is unknown."
545
543
(defcustom cider-injected-nrepl-version " 1.3.1"
546
544
" The version of nREPL injected on jack-in.
547
545
We 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."
549
547
:type 'string
550
548
:package-version '(cider . " 1.2.0" )
551
549
:safe #'stringp )
@@ -692,45 +690,13 @@ returned by this function only contains strings."
692
690
(car spec)
693
691
spec)))))
694
692
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
-
701
693
(defun cider--jack-in-required-dependencies ()
702
694
" Returns the required CIDER deps.
703
695
They are normally added to `cider-jack-in-dependencies' ,
704
696
unless it's a Lein project."
705
697
`((" nrepl/nrepl" , cider-injected-nrepl-version )
706
698
(" cider/cider-nrepl" , cider-injected-middleware-version )))
707
699
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
-
734
700
(defun cider--gradle-dependency-notation (dependency )
735
701
" Returns Gradle's GAV dependency syntax.
736
702
For a \" group/artifact\" \" version\" ) DEPENDENCY list
@@ -959,8 +925,8 @@ See also `cider-jack-in-auto-inject-clojure'."
959
925
These are set in `cider-jack-in-dependencies' , `cider-jack-in-lein-plugins'
960
926
and `cider-jack-in-nrepl-middlewares' are injected from the CLI according
961
927
to 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."
964
930
(pcase project-type
965
931
('lein (cider-lein-jack-in-dependencies
966
932
global-opts
@@ -970,12 +936,6 @@ middleware and dependencies."
970
936
cider-jack-in-dependencies-exclusions
971
937
(cider-jack-in-normalized-lein-plugins)
972
938
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)))
979
939
('clojure-cli (cider-clojure-cli-jack-in-dependencies
980
940
global-opts
981
941
params
@@ -1057,12 +1017,6 @@ Generally you should not disable this unless you run into some faulty check."
1057
1017
(unless (cider-library-present-p " weasel.repl.server" )
1058
1018
(user-error " Weasel in not available. Please check https://docs.cider.mx/cider/basics/clojurescript/#browser-connected-clojurescript-repl for details" )))
1059
1019
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
-
1066
1020
(defun cider-check-krell-requirements ()
1067
1021
" Check whether we can start a Krell ClojureScript REPL."
1068
1022
(cider-verify-piggieback-is-present)
@@ -1223,8 +1177,6 @@ The supplied string will be wrapped in a do form if needed."
1223
1177
cider-check-node-requirements)
1224
1178
(weasel " (do (require 'weasel.repl.websocket) (cider.piggieback/cljs-repl (weasel.repl.websocket/repl-env :ip \" 127.0.0.1\" :port 9001)))"
1225
1179
cider-check-weasel-requirements)
1226
- (boot " (do (require 'adzerk.boot-cljs-repl) (adzerk.boot-cljs-repl/start-repl))"
1227
- cider-check-boot-requirements)
1228
1180
(shadow cider-shadow-cljs-init-form cider-check-shadow-cljs-requirements)
1229
1181
(shadow-select cider-shadow-select-cljs-init-form cider-check-shadow-cljs-requirements)
1230
1182
(krell " (require '[clojure.edn :as edn]
@@ -2072,7 +2024,6 @@ Search for lein or java processes including nrepl.command nREPL."
2072
2024
PROJECT-DIR defaults to current project."
2073
2025
(let* ((default-directory (or project-dir (clojure-project-dir (cider-current-dir))))
2074
2026
(build-files '((lein . " project.clj" )
2075
- (boot . " build.boot" )
2076
2027
(clojure-cli . " deps.edn" )
2077
2028
(babashka . " bb.edn" )
2078
2029
(shadow-cljs . " shadow-cljs.edn" )
0 commit comments