Function: projectile-configure-command
projectile-configure-command is a byte-compiled function defined in
projectile.el.
Signature
(projectile-configure-command COMPILE-DIR)
Documentation
Retrieve the configure command for COMPILE-DIR.
The command is determined like this:
- first we check projectile-configure-cmd-map for the last
configure command that was invoked on the project
- then we check for projectile-project-configure-cmd supplied
via .dir-locals.el
- finally we check for the default configure command for a
project of that type
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-configure-command (compile-dir)
"Retrieve the configure command for COMPILE-DIR.
The command is determined like this:
- first we check `projectile-configure-cmd-map' for the last
configure command that was invoked on the project
- then we check for `projectile-project-configure-cmd' supplied
via .dir-locals.el
- finally we check for the default configure command for a
project of that type"
(or (gethash compile-dir projectile-configure-cmd-map)
projectile-project-configure-cmd
(let ((cmd-format-string (projectile-default-configure-command (projectile-project-type))))
(when cmd-format-string
(format cmd-format-string (projectile-project-root))))))