refactor(cli): move native-comp call into guard
Each of these functions have a native-comp guard, which may be overkill, but for the time being they should be grouped together, to indicate their relationship.
This commit is contained in:
parent
a023482c36
commit
cba240f88a
1 changed files with 2 additions and 2 deletions
|
@ -307,8 +307,8 @@ declaration) or dependency thereof that hasn't already been."
|
|||
(error
|
||||
(signal 'doom-package-error (list package e))))))
|
||||
(progn
|
||||
(doom-packages--compile-site-files)
|
||||
(when (featurep 'native-compile)
|
||||
(doom-packages--compile-site-files)
|
||||
(doom-packages--wait-for-native-compile-jobs)
|
||||
(doom-packages--write-missing-eln-errors))
|
||||
(print! (success "\033[KInstalled %d packages") (length built)))
|
||||
|
@ -371,8 +371,8 @@ declaration) or dependency thereof that hasn't already been."
|
|||
(puthash package t straight--packages-to-rebuild))))
|
||||
(straight-use-package (intern package))))
|
||||
(progn
|
||||
(doom-packages--compile-site-files)
|
||||
(when (featurep 'native-compile)
|
||||
(doom-packages--compile-site-files)
|
||||
(doom-packages--wait-for-native-compile-jobs)
|
||||
(doom-packages--write-missing-eln-errors))
|
||||
;; HACK Every time you save a file in a package that straight tracks,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue