Add make run for dev purposes

This commit is contained in:
Henrik Lissner 2017-02-20 00:45:17 -05:00
parent 7835a6986b
commit 1ca43ba39e

View File

@ -33,6 +33,11 @@ clean-cache:
test:
@$(EMACS) -l test/init.el -f 'doom-run-tests'
# This is only useful if your emacs.d is somewhere other than ~/.emacs.d (for
# development purposes for instance).
run:
@emacs --eval "(setq user-emacs-directory default-directory)" -q -l init.el
init.el:
@[ -f init.el ] || $(error No init.el file; create one or copy init.example.el)