ob-compile

Homepage: https://github.com/TxGVNN/ob-compile

Author: Giap Tran

Updated:

Summary

Run compile by org-babel

Commentary

Run compile in org-mode.
Example:
#+begin_src compile :name uname :output (format "compile-%s" (format-time-string "%y%m%d-%H%M%S"))
uname -a
#+end_src

To enable saving the output, you have to config:
(add-hook 'compilation-finish-functions #'ob-compile-save-file)

Dependencies