From 78dc76d5e587e8d855133d3682c0c3d86b30048b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 16 Mar 2018 00:09:34 -0700 Subject: [PATCH] [Emacs] Add stack-build compile command --- dotfiles/emacs.d/README.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 31f2450a..b2d9a810 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1626,10 +1626,16 @@ custom-set-faces in your custom file. (interactive) (imalison:named-compile "glide up")) +(defun imalison:stack-build () + (interactive) + (let ((frame-mode-use-new-frame-or-window t)) + (imalison:named-compile "stack build"))) + (defhydra imalison:compile nil "Compile" ("p" imalison:projectile-helm-command-from-zsh "Run a command in projectile root") ("d" helm-command-from-zsh "Run a command in default directory") ("c" imalison:named-compile "Enter Custom Command") + ("s" imalison:stack-build "Stack build") ("t" imalison:make-test "Test") ("u" imalison:glide-up "Update Dependencies")) ;; The following parens close the use-package/progn created several blocks above