1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-13 11:12:19 -08:00
emacs/Makefile
Justin Burkett 0a212c71fe Fix travis build
Add support for 25.3. Remove for 24.3
2017-12-13 13:02:51 -05:00

19 lines
347 B
Makefile

.PHONY : test
emacs ?= emacs
CASK ?= cask
LOADPATH = -L .
ELPA_DIR = \
.cask/$(shell $(emacs) -Q --batch --eval '(princ emacs-version)')/elpa
test: elpa
$(CASK) exec $(emacs) -Q -batch $(LOADPATH) \
-l which-key-tests.el -f ert-run-tests-batch-and-exit
elpa: $(ELPA_DIR)
$(ELPA_DIR): Cask
$(CASK) install
mkdir -p $(ELPA_DIR)
touch $@