emacs.d/Makefile

9 lines
442 B
Makefile
Raw Normal View History

# See:
# https://www.viget.com/articles/two-ways-to-share-git-hooks-with-your-team/
# https://emacs.stackexchange.com/questions/27126/is-it-possible-to-org-bable-tangle-an-org-file-from-the-command-line
init:
git config core.hooksPath .githooks
emacs --batch \
--eval "(add-to-list 'safe-local-eval-forms '(apply 'my-org-eval-blocks-named '(\"emacs-lisp-setup\")))" \
--eval "(require 'org)" --eval '(org-babel-tangle-file "README.org")'