Function: projection-multi--project-triggers

projection-multi--project-triggers is a natively compiled function defined in projection-multi.el.

Signature

(projection-multi--project-triggers PROJECT)

Documentation

Extract all compile-multi triggers for the PROJECT.

Source Code

;; Defined in /nix/store/p352vg5hx7hmw07f7hjwfyrih9p75bzv-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-multi-20260614.1822/projection-multi.el
(defun projection-multi--project-triggers (project)
  "Extract all `compile-multi' triggers for the PROJECT."
  (append
   (list #'projection-multi-projection-targets)
   (when-let* ((project-types (projection-project-types (project-root project))))
     (cl-loop
      for config in project-types
      with targets = nil
      do (setq targets (oref config compile-multi-targets))
      if (functionp targets)
         ;; Avoid issue with closures being considered a list already.
        do (setq targets (list targets))
      else
        do (setq targets (ensure-list targets))
      when targets
        append targets))))