Function: projectile-compilation-command
projectile-compilation-command is a byte-compiled function defined in
projectile.el.
Signature
(projectile-compilation-command COMPILE-DIR)
Documentation
Retrieve the compilation command for COMPILE-DIR.
Checks projectile-compilation-cmd-map for the last compile command
that was invoked on the project, then projectile-project-compilation-cmd
supplied via .dir-locals.el and finally the default compilation command
for a project of that type.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-compilation-command (compile-dir)
"Retrieve the compilation command for COMPILE-DIR.
Checks `projectile-compilation-cmd-map' for the last compile command
that was invoked on the project, then `projectile-project-compilation-cmd'
supplied via .dir-locals.el and finally the default compilation command
for a project of that type."
(projectile--phase-command 'compile compile-dir))