#!/bin/sh -e cd "$(dirname "$0")" ECUKES_EMACS=${EMACS:-$(which emacs)} echo "*** Emacs version ***" echo "ECUKES_EMACS = $ECUKES_EMACS" "$ECUKES_EMACS" --version echo "$ECUKES_EMACS" --batch --eval "(unless (ignore-errors (require 'cl-lib)) (package-refresh-contents) (package-install 'cl-lib))" cask exec $(find elpa/ecukes-*/ecukes | tail -1)