Suppose my cwd is at the top-level of the Org Git repo.
- How would I byte-compile a single Org source? Any make target
available for that?
I use this to byte-compile "org.el" after changes:
~/work/emacs-master/src/emacs --batch -L lisp --eval '(byte-compile-file
"lisp/org.el")'
but that seems hacky.
- And: How do I run a single Org ERT test? Emacs's Makefiles
provide targets so that one can do
( cd test && make lisp/test-name )
but for Org I had to resort to this monster to only run tests
from, say, "testing/lisp/test-org.el":
~/work/emacs-master/src/emacs --batch -L lisp -l ert -l testing/org-test.el
-l testing/lisp/test-org.el -f ert-run-tests-batch-and-exit
but that is again hacky and results seems to differ compared
to those done by a "make check".
Thanks.