Extract make clean/clean-cache into elisp; new doom-etc-dir for non-volatile temp files
This commit is contained in:
parent
4ae0513020
commit
923d4585fa
7 changed files with 43 additions and 16 deletions
5
Makefile
5
Makefile
|
@ -21,11 +21,10 @@ compile: init.el clean
|
|||
@$(EMACS) -l core/core.el -f 'doom/recompile'
|
||||
|
||||
clean:
|
||||
@rm -fv init.elc
|
||||
@find {core,modules} -type f -iname '*.elc' -exec rm \-fv {} \;
|
||||
@$(EMACS) -l core/core.el -f 'doom/clear-compiled'
|
||||
|
||||
clean-cache:
|
||||
@$(EMACS) -l core/core.el --eval '(delete-directory doom-cache-dir t)'
|
||||
@$(EMACS) -l core/core.el -f 'doom/clear-cache'
|
||||
|
||||
# This is only useful if your emacs.d is somewhere other than ~/.emacs.d (for
|
||||
# development purposes for instance).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue