mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/emacs-lisp: add buttercup-run-project command
And replace non-interactive buttercup-run-discover.
This commit is contained in:
@ -114,6 +114,16 @@ if it's callable, `apropos' otherwise."
|
||||
(buttercup-run))
|
||||
(message "File executed successfully")))
|
||||
|
||||
;;;###autoload
|
||||
(defun +emacs-lisp/buttercup-run-project ()
|
||||
"Run all buttercup tests in the project."
|
||||
(interactive)
|
||||
(let* ((default-directory (doom-project-root))
|
||||
(load-path (append (list (doom-path "test")
|
||||
default-directory)
|
||||
load-path)))
|
||||
(buttercup-run-discover)))
|
||||
|
||||
|
||||
;;
|
||||
;;; Hooks
|
||||
|
Reference in New Issue
Block a user