Function: cider--identify-buildtools-present

cider--identify-buildtools-present is a byte-compiled function defined in cider-jack-in.el.

Signature

(cider--identify-buildtools-present &optional PROJECT-DIR)

Documentation

Identify build systems present by their build files in PROJECT-DIR.

PROJECT-DIR defaults to the current project. The set of recognized build files is derived from the :project-files entries in cider-jack-in-tools.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-jack-in.el
;;; Project type detection and universal jack-in

(defun cider--identify-buildtools-present (&optional project-dir)
  "Identify build systems present by their build files in PROJECT-DIR.
PROJECT-DIR defaults to the current project.  The set of recognized build
files is derived from the :project-files entries in `cider-jack-in-tools'."
  (let ((default-directory (or project-dir (cider-project-dir (cider-current-dir)))))
    (delq nil
          (mapcar (lambda (entry)
                    (when (seq-some #'file-exists-p
                                    (plist-get (cdr entry) :project-files))
                      (car entry)))
                  cider-jack-in-tools))))