Remove compile-lite task + simple-p option in doom/recompile
This commit is contained in:
parent
dc9133fcc7
commit
cd713291f3
2 changed files with 9 additions and 13 deletions
3
Makefile
3
Makefile
|
@ -20,9 +20,6 @@ autoloads: init.el
|
|||
compile: init.el clean
|
||||
@$(EMACS) -l core/core.el -f 'doom/recompile'
|
||||
|
||||
compile-lite: init.el clean
|
||||
@$(EMACS) -l core/core.el --eval '(doom/recompile t)'
|
||||
|
||||
clean:
|
||||
@rm -fv init.elc
|
||||
@find {core,modules} -type f -iname '*.elc' -exec rm \-fv {} \;
|
||||
|
|
|
@ -428,7 +428,7 @@ There should be a measurable benefit from this, but it may take a while."
|
|||
(interactive)
|
||||
;; Ensure all relevant config files are loaded. This way we don't need
|
||||
;; eval-when-compile and require blocks scattered all over.
|
||||
(doom-initialize-packages t noninteractive)
|
||||
(doom-initialize-packages (not noninteractive) noninteractive)
|
||||
(let ((targets
|
||||
(append (list (expand-file-name "init.el" doom-emacs-dir)
|
||||
(expand-file-name "core.el" doom-core-dir))
|
||||
|
@ -436,7 +436,6 @@ There should be a measurable benefit from this, but it may take a while."
|
|||
(file-expand-wildcards (expand-file-name "autoload/*.el" doom-core-dir))))
|
||||
(n 0)
|
||||
results)
|
||||
(unless simple-p
|
||||
(dolist (path (doom--module-paths))
|
||||
(nconc targets
|
||||
(cl-remove-if (lambda (file)
|
||||
|
@ -444,7 +443,7 @@ There should be a measurable benefit from this, but it may take a while."
|
|||
(or (string= fname ".")
|
||||
(string= fname ".."))))
|
||||
(reverse
|
||||
(directory-files-recursively path "\\.el$"))))))
|
||||
(directory-files-recursively path "\\.el$")))))
|
||||
(dolist (file targets)
|
||||
(push (cons (file-relative-name file doom-emacs-dir)
|
||||
(and (byte-recompile-file file nil 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue