Commit Graph

15 Commits

Author SHA1 Message Date
Henrik Lissner
a3889dc8b1
bin/doom: don't set DOOMDIR
Now that we use it for doom-private-dir
2018-06-05 17:26:31 +02:00
Henrik Lissner
08a453bd5e
bin/doom: show usage info if no command is entered 2018-06-02 02:56:18 +02:00
Henrik Lissner
6fdd6cb14c
bin/doom: respond to -h/--help
In case people try that before `help`
2018-06-02 02:55:52 +02:00
Henrik Lissner
d998ef3159
Fix emacs-lisp header in bin/doom 2018-05-29 23:14:33 +02:00
Henrik Lissner
6b625e96b5
bin/doom: add support for custom emacs binary (EMACS envvar) 2018-05-28 15:49:50 +02:00
Henrik Lissner
fd86bfb027
Fix load-path not including site-lisp directories
This would cause plugins like mu4e to not be detected and included in
the cached load-path generated by doom-package-autoload-file.
2018-05-26 03:03:01 +02:00
Henrik Lissner
0750e877ab
Ensure private/emacs dirs end with a slash 2018-05-25 20:06:01 +02:00
Henrik Lissner
843c4d085f
bin/doom: fix doom run 2018-05-25 01:25:56 +02:00
Henrik Lissner
e3bdeabe0b
bin/doom: discard extra command line args 2018-05-24 18:29:56 +02:00
Henrik Lissner
e1e47b9173
bin/doom: minor refactor; no longer default to doom refresh
Better to be explicit, otherwise you get some weird cases where
incorrect commands fall through to a doom refresh.
2018-05-24 16:03:27 +02:00
Henrik Lissner
8a7ebebf16
bin/doom: add -y/--yes option 2018-05-24 16:02:59 +02:00
Henrik Lissner
499630fdcd
bin/doom: handle doc/doctor especially 2018-05-24 16:00:46 +02:00
Henrik Lissner
cf54b3705b
bin/doom: alias h => help 2018-05-21 15:42:00 +02:00
Henrik Lissner
337d2e9533
Make bin/doom (with no args) equivalent to make all 2018-05-21 01:38:17 +02:00
Henrik Lissner
f058505306
New bin/doom (eventual replacement for make)
This commit adds bin/doom, which acts as the middle man that make once
was (and will stay for a while, though the documentation will shift away
from using it). It does everything the previous make interface did, but
is faster and more flexible. bin/doom should eventually replace the
makefile.

bin/doom also makes it easier to run Doom outside of ~/.emacs.d and
~/.doom.d with, for example:

  bin/doom run -p ~/.other.doom.d/ -e ~/.other.emacs.d

bin/doom.cmd is included for Windows users, but I don't recommend using
it yet. It hasn't been tested nor have I ever written a batch script
before.

Also update init.example.el with new defaults.
2018-05-21 01:38:17 +02:00