mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Complain about unknown targets in 'doom compile' #1657
This commit is contained in:
@ -73,7 +73,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||||||
(push (doom-module-locate-path
|
(push (doom-module-locate-path
|
||||||
(doom-keyword-intern (match-string 1 module))
|
(doom-keyword-intern (match-string 1 module))
|
||||||
(intern (match-string 2 module)))
|
(intern (match-string 2 module)))
|
||||||
target-dirs))))
|
target-dirs))
|
||||||
|
(_ (user-error "%S is not a valid target" module))))
|
||||||
|
|
||||||
(and (or (null modules) (member ":private" modules))
|
(and (or (null modules) (member ":private" modules))
|
||||||
(not recompile-p)
|
(not recompile-p)
|
||||||
|
Reference in New Issue
Block a user