Add bin/doctor to diagnose environment issues

This commit is contained in:
Henrik Lissner 2017-05-20 18:15:40 +02:00
parent 328d7a2e4c
commit 4de9cd8088
2 changed files with 146 additions and 0 deletions

View file

@ -40,6 +40,9 @@ test: init.el .local/autoloads.el
test/%: init.el .local/autoloads.el
@$(TEST_EMACS) -l $@.el -f 'ert-run-tests-batch-and-exit'
doctor:
@./bin/doctor
#
init.el:
@[ -e init.el ] || $(error No init.el file; create one or copy init.example.el)