tweak(cli): show benchmark for doom {build,purge}

These two commands tend to take a while.
This commit is contained in:
Henrik Lissner 2022-06-19 22:18:01 +02:00
parent ab7f7058f3
commit 12e9b4422f
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -24,6 +24,7 @@
This ensures that all needed files are symlinked from their package repo and This ensures that all needed files are symlinked from their package repo and
their elisp files are byte-compiled. This is especially necessary if you upgrade their elisp files are byte-compiled. This is especially necessary if you upgrade
Emacs (as byte-code is generally not forward-compatible)." Emacs (as byte-code is generally not forward-compatible)."
:benchmark t
(when jobs (when jobs
(setq native-comp-async-jobs-number (truncate jobs))) (setq native-comp-async-jobs-number (truncate jobs)))
(when (doom-packages-build (not rebuild-p)) (when (doom-packages-build (not rebuild-p))
@ -46,6 +47,7 @@ possible.
It is a good idea to occasionally run this doom purge -g to ensure your package It is a good idea to occasionally run this doom purge -g to ensure your package
list remains lean." list remains lean."
:benchmark t
(straight-check-all) (straight-check-all)
(when (doom-packages-purge (when (doom-packages-purge
(not noelpa-p) (not noelpa-p)