doomemacs/scripts/byte-compile.el

16 lines
718 B
EmacsLisp
Raw Normal View History

2015-06-19 23:57:59 +02:00
#!emacs --script
2016-01-30 21:16:10 -05:00
(load (concat user-emacs-directory "bootstrap.el"))
2015-06-19 23:57:59 +02:00
(require 'bytecomp)
2016-01-30 21:16:10 -05:00
(byte-recompile-file (expand-file-name "bootstrap.el" narf-emacs-dir) nil 0)
2015-06-19 23:57:59 +02:00
(byte-recompile-file (expand-file-name "init.el" narf-emacs-dir) nil 0)
(byte-recompile-file (expand-file-name "core.el" narf-core-dir) t 0)
(byte-recompile-file (expand-file-name "core-vars.el" narf-core-dir) t 0)
(byte-recompile-file (expand-file-name "core-defuns.el" narf-core-dir) t 0)
2016-01-29 07:11:14 -05:00
(dolist (dir (list narf-core-dir narf-modules-dir narf-core-dir))
2015-06-19 23:57:59 +02:00
(byte-recompile-directory dir 0 nil))
(byte-recompile-file (expand-file-name "my-bindings.el" narf-core-dir) t 0)
(byte-recompile-file (expand-file-name "my-commands.el" narf-core-dir) t 0)