Variable: projectile--lifecycle-phases

projectile--lifecycle-phases is a variable defined in projectile.el.

Value

((:name configure :prompt "Configure command: " :save-buffers t :cmd-map projectile-configure-cmd-map :dir-local-var projectile-project-configure-cmd :default-fn projectile--expand-configure-command :command-fn projectile-configure-command)
 (:name compile :prompt "Compile command: " :save-buffers t :cmd-map projectile-compilation-cmd-map :dir-local-var projectile-project-compilation-cmd :default-fn projectile-default-compilation-command :command-fn projectile-compilation-command)
 (:name test :prompt "Test command: " :save-buffers t :cmd-map projectile-test-cmd-map :dir-local-var projectile-project-test-cmd :default-fn projectile-default-test-command :command-fn projectile-test-command)
 (:name install :prompt "Install command: " :save-buffers t :cmd-map projectile-install-cmd-map :dir-local-var projectile-project-install-cmd :default-fn projectile-default-install-command :command-fn projectile-install-command)
 (:name package :prompt "Package command: " :save-buffers t :cmd-map projectile-package-cmd-map :dir-local-var projectile-project-package-cmd :default-fn projectile-default-package-command :command-fn projectile-package-command)
 (:name run :prompt "Run command: " :save-buffers nil :cmd-map projectile-run-cmd-map :dir-local-var projectile-project-run-cmd :default-fn projectile-default-run-command :command-fn projectile-run-command))

Documentation

Descriptors for the project lifecycle phases.

Each entry is a plist with the phase symbol (:name, also used as the command type for the per-type command history), the variable caching the last command per project (:cmd-map), the .dir-locals.el override variable (:dir-local-var), a function of the project type returning the default command (:default-fn), the public command resolver
(:command-fn), the prompt prefix (:prompt) and whether to save the
project's buffers before running the command (:save-buffers).

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defconst projectile--lifecycle-phases
  '((:name configure :prompt "Configure command: " :save-buffers t
     :cmd-map projectile-configure-cmd-map
     :dir-local-var projectile-project-configure-cmd
     :default-fn projectile--expand-configure-command
     :command-fn projectile-configure-command)
    (:name compile :prompt "Compile command: " :save-buffers t
     :cmd-map projectile-compilation-cmd-map
     :dir-local-var projectile-project-compilation-cmd
     :default-fn projectile-default-compilation-command
     :command-fn projectile-compilation-command)
    (:name test :prompt "Test command: " :save-buffers t
     :cmd-map projectile-test-cmd-map
     :dir-local-var projectile-project-test-cmd
     :default-fn projectile-default-test-command
     :command-fn projectile-test-command)
    (:name install :prompt "Install command: " :save-buffers t
     :cmd-map projectile-install-cmd-map
     :dir-local-var projectile-project-install-cmd
     :default-fn projectile-default-install-command
     :command-fn projectile-install-command)
    (:name package :prompt "Package command: " :save-buffers t
     :cmd-map projectile-package-cmd-map
     :dir-local-var projectile-project-package-cmd
     :default-fn projectile-default-package-command
     :command-fn projectile-package-command)
    (:name run :prompt "Run command: " :save-buffers nil
     :cmd-map projectile-run-cmd-map
     :dir-local-var projectile-project-run-cmd
     :default-fn projectile-default-run-command
     :command-fn projectile-run-command))
  "Descriptors for the project lifecycle phases.

Each entry is a plist with the phase symbol (`:name', also used as the
command type for the per-type command history), the variable caching
the last command per project (`:cmd-map'), the .dir-locals.el override
variable (`:dir-local-var'), a function of the project type returning
the default command (`:default-fn'), the public command resolver
\(`:command-fn'), the prompt prefix (`:prompt') and whether to save the
project's buffers before running the command (`:save-buffers').")