mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08: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:
parent
0a715cc3f2
commit
68edae421f
1 changed files with 0 additions and 6 deletions
|
|
@ -255,12 +255,6 @@ caches them in `doom--profiles'. If RELOAD? is non-nil, refresh the cache."
|
||||||
(with-file-modes #o750
|
(with-file-modes #o750
|
||||||
(print-group!
|
(print-group!
|
||||||
(make-directory init-dir t)
|
(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")))
|
(let ((auto-files (doom-glob init-dir "*.auto.el")))
|
||||||
(print! (start "Generating %d init files...") (length doom-profile-generators))
|
(print! (start "Generating %d init files...") (length doom-profile-generators))
|
||||||
(print-group! :level 'info
|
(print-group! :level 'info
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue