Gerard Vermeulen f56531b7bc Improve the work-flow demonstration features
* 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.
2021-11-30 09:35:15 +01:00

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")'