Add straight :needs
This commit is contained in:
parent
144e5244d2
commit
a8e71fa8c7
|
@ -126,6 +126,13 @@ The following keyword arguments are also recognized:
|
|||
(let ((recipe (cadr sexp)))
|
||||
(or (car-safe recipe) recipe)))))
|
||||
|
||||
(setup-define :needs
|
||||
(lambda (executable)
|
||||
`(unless (executable-find ,executable)
|
||||
,(setup-quit)))
|
||||
:documentation "If EXECUTABLE is not in the path, stop here."
|
||||
:repeatable 1)
|
||||
|
||||
|
||||
;;; Redefines of `setup' forms
|
||||
|
||||
|
|
Loading…
Reference in New Issue