2021-11-30 09:35:15 +01:00
|
|
|
# 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
|
2021-11-29 16:17:34 +01:00
|
|
|
init:
|
|
|
|
git config core.hooksPath .githooks
|
2021-11-30 09:35:15 +01:00
|
|
|
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")'
|