Slight reformatting of 'doom refresh' & 'doom compile' output
This commit is contained in:
parent
ecb76d536b
commit
dc8b3dd57d
2 changed files with 29 additions and 27 deletions
|
@ -123,7 +123,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||
(cl-return nil))
|
||||
|
||||
(print!
|
||||
(info (if recompile-p
|
||||
(start (if recompile-p
|
||||
"Recompiling stale elc files..."
|
||||
"Byte-compiling your config (may take a while)...")))
|
||||
(print-group!
|
||||
|
@ -200,4 +200,5 @@ module. This does not include your byte-compiled, third party packages.'"
|
|||
finally do
|
||||
(print! (if success
|
||||
(success "All elc files deleted")
|
||||
(info "No elc files to clean"))))))
|
||||
(info "No elc files to clean"))))
|
||||
t))
|
||||
|
|
|
@ -238,7 +238,8 @@ It will ensure that unneeded packages are removed, all needed packages are
|
|||
installed, autoloads files are up-to-date and no byte-compiled files have gone
|
||||
stale."
|
||||
:bare t
|
||||
(print! (green "Initiating a refresh of Doom Emacs...\n"))
|
||||
(print! (start "Initiating a refresh of Doom Emacs..."))
|
||||
(print-group!
|
||||
(let (success)
|
||||
(when (file-exists-p doom-env-file)
|
||||
(doom-cli-reload-env-file 'force))
|
||||
|
@ -262,7 +263,7 @@ stale."
|
|||
(setq success t)))
|
||||
(doom-cli-reload-package-autoloads (or success (not if-necessary-p)))
|
||||
(doom-cli-byte-compile nil 'recompile))
|
||||
t))
|
||||
t)))
|
||||
|
||||
(load! "cli/env")
|
||||
(load! "cli/upgrade")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue