f56531b7bc
* Evaluate named source blocks automatically. This requires adapting the Makefile and the post-merge hook. * Add and tweak functions stolen from ox-extra.el. * Add a quick-start section. * Complete the .gitignore file.
9 lines
442 B
Makefile
9 lines
442 B
Makefile
# 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")'
|