Remove make compile

This commit is contained in:
Henrik Lissner 2016-05-24 23:38:19 -04:00
parent 8e2b8f60f1
commit 75241e52a2
3 changed files with 6 additions and 11 deletions

View file

@ -11,9 +11,6 @@ update: autoloads _update init.elc
autoloads: autoloads:
@$(EMACS) --batch -l init.el --eval '(doom-reload-autoloads)' 2>&1 @$(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: snippets:
@[ -d private/snippets ] || git clone $(REPO_URL)/emacs-snippets private/snippets @[ -d private/snippets ] || git clone $(REPO_URL)/emacs-snippets private/snippets

View file

@ -15,15 +15,13 @@ brew install emacs --with-cocoa --with-imagemagick
git clone https://github.com/hlissner/.emacs.d ~/.emacs.d git clone https://github.com/hlissner/.emacs.d ~/.emacs.d
cd ~/.emacs.d cd ~/.emacs.d
make # installs plugins via cask and generates autoloads make # installs plugins via cask and generates autoloads
```
And to optionally: # Optional
```
make compile # optionally byte-compiles everything
make snippets # install hlissner/emacs-snippets into private/snippets make snippets # install hlissner/emacs-snippets into private/snippets
``` ```
To byte compile, run `(doom-byte-compile)`
## Features ## Features
To get a picture of what's in here, check out: To get a picture of what's in here, check out:

View file

@ -342,11 +342,11 @@ e.g. (doom-fix-unicode \"DejaVu Sans\" '(?⚠ ?★ ?λ ?➊ ?➋ ?➌ ?➍ ?➎
(defun doom-byte-compile () (defun doom-byte-compile ()
"Byte compile the core and library .el files in ~/.emacs.d" "Byte compile the core and library .el files in ~/.emacs.d"
(interactive) (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" '("init.el" "private/my-commands.el" "private/my-bindings.el"
"core/core.el" "core/core-defuns.el" "core/core-ui.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 doom-core-dir 0 t)
(byte-recompile-directory (concat doom-modules-dir "/defuns") 0 t) (byte-recompile-directory doom-modules-dir 0 t)
(message "Compiled!")) (message "Compiled!"))
(provide 'core-defuns) (provide 'core-defuns)