Function: cider--figwheel-main-get-builds

cider--figwheel-main-get-builds is a byte-compiled function defined in cider.el.

Signature

(cider--figwheel-main-get-builds)

Documentation

Extract build names from the <build-id>.cljs.edn config files.

Fetches them in the project root.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defun cider--figwheel-main-get-builds ()
  "Extract build names from the <build-id>.cljs.edn config files.
Fetches them in the project root."
  (when-let ((project-dir (clojure-project-dir)))
    (let ((builds (directory-files project-dir nil ".*\\.cljs\\.edn")))
      (mapcar (lambda (f) (string-match "^\\(.*\\)\\.cljs\\.edn" f)
                (match-string 1 f))
              builds))))