[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28199] [PATCH] gnu: Add emacs-minitest.
From: |
Christopher Baines |
Subject: |
[bug#28199] [PATCH] gnu: Add emacs-minitest. |
Date: |
Wed, 23 Aug 2017 10:34:33 +0100 |
* gnu/packages/emacs.scm (emacs-minitest): New variable.
---
gnu/packages/emacs.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 140a53205..bb4375fa6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1628,6 +1628,47 @@ display and behaviour is easily customisable.")
of files under Git version control from within Emacs.")
(license license:gpl3+)))
+(define-public emacs-minitest
+ (package
+ (name "emacs-minitest")
+ (version "0.8.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/arthurnn/minitest-emacs/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1dsb7kzvs1x6g4sgqmq73jqacb7wzm0wfkiq5m9dqdzq8mppgiqs"))))
+ (build-system emacs-build-system)
+ (arguments
+ '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
+ #:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)
+ ("emacs-f" ,emacs-f)))
+ (home-page "https://github.com/arthurnn/minitest-emacs")
+ (synopsis "Emacs minitest mode")
+ (description
+ "The minitest mode provides commands to run the tests for the current
+file or line, as well as rerunning the previous tests, or all the tests for a
+project.
+
+To enable minitest mode on ruby files, use:
+
address@hidden
+(add-hook 'ruby-mode-hook 'minitest-mode)
address@hidden example
+
+If you hava yasnippet installed, you can load snippets relevent to minitest:
+
address@hidden
+(eval-after-load 'minitest
+ '(minitest-install-snippets))
address@hidden example")
+ (license license:expat)))
+
(define-public emacs-el-mock
(package
(name "emacs-el-mock")
--
2.14.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#28199] [PATCH] gnu: Add emacs-minitest.,
Christopher Baines <=