Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 293 Bytes
EMACS ?= emacs
CASK ?= cask
LOADPATH = -L .
ELPA_DIR = $(shell EMACS=$(EMACS) $(CASK) package-directory)
test: elpa
$(CASK) exec $(EMACS) -Q -batch $(LOADPATH) \
-l test/test-quickrun.el \
-f ert-run-tests-batch-and-exit
elpa: $(ELPA_DIR)
$(ELPA_DIR): Cask
$(CASK) install
touch $@