* [bug#28199] [PATCH] gnu: Add emacs-minitest.
@ 2017-08-23 9:34 Christopher Baines
2017-09-04 6:06 ` Christopher Baines
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2017-08-23 9:34 UTC (permalink / raw)
To: 28199
* 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:
+
+@example
+(add-hook 'ruby-mode-hook 'minitest-mode)
+@end example
+
+If you hava yasnippet installed, you can load snippets relevent to minitest:
+
+@example
+(eval-after-load 'minitest
+ '(minitest-install-snippets))
+@end example")
+ (license license:expat)))
+
(define-public emacs-el-mock
(package
(name "emacs-el-mock")
--
2.14.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#28199] [PATCH] gnu: Add emacs-minitest.
2017-08-23 9:34 [bug#28199] [PATCH] gnu: Add emacs-minitest Christopher Baines
@ 2017-09-04 6:06 ` Christopher Baines
2017-09-04 11:22 ` Maxim Cournoyer
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Baines @ 2017-09-04 6:06 UTC (permalink / raw)
To: 28199
* gnu/packages/emacs.scm (emacs-minitest): New variable.
---
gnu/packages/emacs.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index b3d5fc97e..5c40fda24 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1629,6 +1629,36 @@ 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.
+
+This package also includes relevant snippits for yasnippet.")
+ (license license:expat)))
+
(define-public emacs-el-mock
(package
(name "emacs-el-mock")
--
2.14.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#28199] [PATCH] gnu: Add emacs-minitest.
2017-09-04 6:06 ` Christopher Baines
@ 2017-09-04 11:22 ` Maxim Cournoyer
2017-09-04 21:36 ` bug#28199: " Christopher Baines
0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2017-09-04 11:22 UTC (permalink / raw)
To: 28199, mail
On September 4, 2017 2:06:47 AM EDT, Christopher Baines <mail@cbaines.net> wrote:
>* gnu/packages/emacs.scm (emacs-minitest): New variable.
>---
> gnu/packages/emacs.scm | 30 ++++++++++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
>
>diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
>index b3d5fc97e..5c40fda24 100644
>--- a/gnu/packages/emacs.scm
>+++ b/gnu/packages/emacs.scm
>@@ -1629,6 +1629,36 @@ 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.
>+
>+This package also includes relevant snippits for yasnippet.")
s/snippits/snippets
>+ (license license:expat)))
>+
> (define-public emacs-el-mock
> (package
> (name "emacs-el-mock")
Thanks!
Hi,
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#28199: [PATCH] gnu: Add emacs-minitest.
2017-09-04 11:22 ` Maxim Cournoyer
@ 2017-09-04 21:36 ` Christopher Baines
0 siblings, 0 replies; 4+ messages in thread
From: Christopher Baines @ 2017-09-04 21:36 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 28199-done
[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]
On Mon, 04 Sep 2017 11:22:29 +0000
Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> On September 4, 2017 2:06:47 AM EDT, Christopher Baines
> <mail@cbaines.net> wrote:
> >* gnu/packages/emacs.scm (emacs-minitest): New variable.
> >---
> > gnu/packages/emacs.scm | 30 ++++++++++++++++++++++++++++++
> > 1 file changed, 30 insertions(+)
> >
> >diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> >index b3d5fc97e..5c40fda24 100644
> >--- a/gnu/packages/emacs.scm
> >+++ b/gnu/packages/emacs.scm
> >@@ -1629,6 +1629,36 @@ 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.
> >+
> >+This package also includes relevant snippits for yasnippet.")
>
> s/snippits/snippets
Good spot :)
> >+ (license license:expat)))
> >+
> > (define-public emacs-el-mock
> > (package
> > (name "emacs-el-mock")
>
> Thanks!
Pushed now as 26361de404c48a3378fc828eaa36d23dfacca3f1
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-09-04 21:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 9:34 [bug#28199] [PATCH] gnu: Add emacs-minitest Christopher Baines
2017-09-04 6:06 ` Christopher Baines
2017-09-04 11:22 ` Maxim Cournoyer
2017-09-04 21:36 ` bug#28199: " Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).