all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phillip.lord@newcastle.ac.uk (Phillip Lord)
To: help-gnu-emacs@gnu.org
Subject: Cask for testing
Date: Thu, 14 Aug 2014 11:31:52 +0100	[thread overview]
Message-ID: <874mxfz7jb.fsf@newcastle.ac.uk> (raw)



I have been investigating Cask for use with testing my Emacs packages,
but have been struggling with it. The documentation is not very rich as
it stands. I was wondering if anyone has a good workflow?

I thought I would start of with m-buffer.el which has few dependencies.

https://github.com/phillord/m-buffer-el

Currently, I have this testing in batch with a shell script. The
dependencies have been included and downloaded into the test directory
(which is obviously not ideal). I am using travis for CI. Testing also
works interactively from within Emacs. My hope was to use Cask for batch
dependency resolution.

My Cask file looks like this:

(source gnu)
(source melpa)

(package-file "m-buffer.el")
(depends-on "dash")

(development
 (depends-on "ert-runner"))
 
Cask correctly downloads the dependencies. But it doesn't put
m-buffer.el onto the load path. So any attempt to use ert-runner fails.
What am I doing wrong?

I'm currently only interested in Cask for development; for my main Emacs
config I just use "use-package" which seems to do everything I need.

Phil









             reply	other threads:[~2014-08-14 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14 10:31 Phillip Lord [this message]
2014-08-14 14:09 ` Cask for testing Sebastian Wiesner
2014-08-14 15:06   ` Stefan Monnier
2014-08-15 10:43   ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874mxfz7jb.fsf@newcastle.ac.uk \
    --to=phillip.lord@newcastle.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.