Variable: projectile-task-providers

projectile-task-providers is a customizable variable defined in projectile.el.

Value

(projectile-tasks-from-npm projectile-tasks-from-deno projectile-tasks-from-composer projectile-tasks-from-just projectile-tasks-from-taskfile projectile-tasks-from-rake projectile-tasks-from-make)

Documentation

Functions that discover the tasks a project's tooling defines.

Each function is called with the project root and should return an alist of (TASK-NAME . COMMAND), both strings, or nil when the project has nothing it recognizes. A function that signals is ignored, so a malformed manifest can't break projectile-run-task.

Task names should carry a tool prefix (npm:build, make:test), which is what keeps the providers from colliding with each other and with the configured tasks.

This variable was added, or its default value changed, in projectile version 3.3.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-task-providers
  '(projectile-tasks-from-npm
    projectile-tasks-from-deno
    projectile-tasks-from-composer
    projectile-tasks-from-just
    projectile-tasks-from-taskfile
    projectile-tasks-from-rake
    projectile-tasks-from-make)
  "Functions that discover the tasks a project's tooling defines.

Each function is called with the project root and should return an
alist of (TASK-NAME . COMMAND), both strings, or nil when the project
has nothing it recognizes.  A function that signals is ignored, so a
malformed manifest can't break `projectile-run-task'.

Task names should carry a tool prefix (`npm:build', `make:test'), which
is what keeps the providers from colliding with each other and with the
configured tasks."
  :group 'projectile
  :type '(repeat function)
  :package-version '(projectile . "3.3.0"))