Fix bin/doom compile error introduced by e2a11d24fd

With a commit of e2a11d24fd, when it comes to
`doom compile`, modules aren't loaded anymore, which corrupts the compiling process.

What I did is just adding the necessity parts for the doom's byte compiler.
This commit is contained in:
Hyunggyu Jang 2021-05-12 14:08:51 +09:00
parent b092d79d35
commit fef242aa34

View file

@ -101,7 +101,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
(noninteractive t)
doom-interactive-p)
(doom-initialize 'force)
(quiet! (doom-initialize-packages))))
(quiet! (doom-initialize-packages))
(quiet! (doom-initialize-modules))))
(if (null targets)
(print! (info "No targets to %scompile" (if recompile-p "re" "")))