feat(php): doctor: rudimentary php & composer checks

This commit is contained in:
Henrik Lissner 2023-09-12 01:20:52 +02:00
parent fd98b44e6a
commit dababf9ae9
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -8,3 +8,9 @@
(assert! (or (not (modulep! +tree-sitter)) (assert! (or (not (modulep! +tree-sitter))
(modulep! :tools tree-sitter)) (modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)") "This module requires (:tools tree-sitter)")
(unless (executable-find "php")
(warn! "Couldn't find php in your PATH"))
(unless (executable-find "composer")
(warn! "Couldn't find composer in your PATH"))