Add make command
This commit is contained in:
parent
d93f91a0e1
commit
f60358c04b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user