Remove make compile
This commit is contained in:
parent
8e2b8f60f1
commit
75241e52a2
3 changed files with 6 additions and 11 deletions
3
Makefile
3
Makefile
|
@ -11,9 +11,6 @@ update: autoloads _update init.elc
|
|||
autoloads:
|
||||
@$(EMACS) --batch -l init.el --eval '(doom-reload-autoloads)' 2>&1
|
||||
|
||||
compile: autoloads
|
||||
@$(EMACS) --batch -l init.el --eval '(doom-byte-compile)' 2>&1
|
||||
|
||||
snippets:
|
||||
@[ -d private/snippets ] || git clone $(REPO_URL)/emacs-snippets private/snippets
|
||||
|
||||
|
|
|
@ -15,15 +15,13 @@ brew install emacs --with-cocoa --with-imagemagick
|
|||
git clone https://github.com/hlissner/.emacs.d ~/.emacs.d
|
||||
cd ~/.emacs.d
|
||||
make # installs plugins via cask and generates autoloads
|
||||
```
|
||||
|
||||
And to optionally:
|
||||
|
||||
```
|
||||
make compile # optionally byte-compiles everything
|
||||
# Optional
|
||||
make snippets # install hlissner/emacs-snippets into private/snippets
|
||||
```
|
||||
|
||||
To byte compile, run `(doom-byte-compile)`
|
||||
|
||||
## Features
|
||||
|
||||
To get a picture of what's in here, check out:
|
||||
|
|
|
@ -342,11 +342,11 @@ e.g. (doom-fix-unicode \"DejaVu Sans\" '(?⚠ ?★ ?λ ?➊ ?➋ ?➌ ?➍ ?➎
|
|||
(defun doom-byte-compile ()
|
||||
"Byte compile the core and library .el files in ~/.emacs.d"
|
||||
(interactive)
|
||||
(mapc (lambda (f) (packed-byte-compile-file (concat doom-emacs-dir "/" f)))
|
||||
(mapc (lambda (f) (byte-compile-file (concat doom-emacs-dir "/" f)))
|
||||
'("init.el" "private/my-commands.el" "private/my-bindings.el"
|
||||
"core/core.el" "core/core-defuns.el" "core/core-ui.el"))
|
||||
(byte-recompile-directory (concat doom-core-dir "/defuns") 0 t)
|
||||
(byte-recompile-directory (concat doom-modules-dir "/defuns") 0 t)
|
||||
(byte-recompile-directory doom-core-dir 0 t)
|
||||
(byte-recompile-directory doom-modules-dir 0 t)
|
||||
(message "Compiled!"))
|
||||
|
||||
(provide 'core-defuns)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue