mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: doom-profile-generate: remove defunct build step
Since87a024e
, the profile init files are no longer byte-compiled, so this block of code -- responsible for deleting byte-compiled init files -- is no longer needed. Amend:87a024ee90
This commit is contained in:
@ -255,12 +255,6 @@ caches them in `doom--profiles'. If RELOAD? is non-nil, refresh the cache."
|
||||
(with-file-modes #o750
|
||||
(print-group!
|
||||
(make-directory init-dir t)
|
||||
(print! (start "Deleting old init files..."))
|
||||
(print-group! :level 'info
|
||||
(cl-loop for file in (cons init-file (doom-glob "*.elc"))
|
||||
if (file-exists-p file)
|
||||
do (print! (item "Deleting %s...") file)
|
||||
and do (delete-file file)))
|
||||
(let ((auto-files (doom-glob init-dir "*.auto.el")))
|
||||
(print! (start "Generating %d init files...") (length doom-profile-generators))
|
||||
(print-group! :level 'info
|
||||
|
Reference in New Issue
Block a user