Add make command

This commit is contained in:
Jeremy Dormitzer 2019-09-15 11:12:46 -04:00
parent d93f91a0e1
commit f60358c04b

View File

@ -3126,3 +3126,14 @@ A fuzzy-finder for notes.
(concat "ngrok http " (number-to-string port)))))
(async-shell-command cmd buf)))
#+END_SRC
* Make
#+BEGIN_SRC emacs-lisp
(defun make ()
(interactive)
(let ((project-root (projectile-project-root)))
(if project-root
(with-temp-buffer
(cd project-root)
(async-shell-command "make"))
(error "Not in a project"))))
#+END_SRC