Complain about unknown targets in 'doom compile' #1657
This commit is contained in:
parent
ffa7a0323a
commit
624c5e1a71
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue