From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Cask for testing Date: Thu, 14 Aug 2014 11:31:52 +0100 Message-ID: <874mxfz7jb.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408012353 10672 80.91.229.3 (14 Aug 2014 10:32:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2014 10:32:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 12:32:25 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XHsKW-0005Nc-Po for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2014 12:32:24 +0200 Original-Received: from localhost ([::1]:53142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHsKW-00036l-DC for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2014 06:32:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHsKD-00035n-Rk for help-gnu-emacs@gnu.org; Thu, 14 Aug 2014 06:32:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHsK6-0008Qn-AN for help-gnu-emacs@gnu.org; Thu, 14 Aug 2014 06:32:05 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:48017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHsK6-0008QB-4C for help-gnu-emacs@gnu.org; Thu, 14 Aug 2014 06:31:58 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1XHsK1-0002d2-F6 for help-gnu-emacs@gnu.org; Thu, 14 Aug 2014 11:31:53 +0100 Original-Received: from cpc7-benw10-2-0-cust228.16-2.cable.virginm.net ([77.98.254.229] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XHsK1-0005O8-Gb for help-gnu-emacs@gnu.org; Thu, 14 Aug 2014 11:31:53 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99210 Archived-At: 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