mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 09:01:40 -05:00

`make test-unit` `make test-int` (formerly `cask exec ert-runner`) An intermittent travis-melpa issue is solved by gonewest818.
31 lines
685 B
Makefile
31 lines
685 B
Makefile
EMACS ?= $(shell which emacs)
|
|
IPYTHON = env/ipy.$(IPY_VERSION)/bin/ipython
|
|
IPY_VERSION = 5.8.0
|
|
SRC=$(shell cask files)
|
|
ELCFILES = $(SRC:.el=.elc)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
cask clean-elc
|
|
-rm -f log/testein*
|
|
-rm -f log/testfunc*
|
|
|
|
env-ipy.%:
|
|
tools/makeenv.sh env/ipy.$* tools/requirement-ipy.$*.txt
|
|
|
|
.PHONY: test
|
|
test: test-unit test-int
|
|
|
|
.PHONY: test-int
|
|
test-int:
|
|
cask exec ert-runner -L ./lisp -L ./test -l test/testfunc.el test/test-func.el
|
|
|
|
.PHONY: test-unit
|
|
test-unit:
|
|
cask exec ert-runner -L ./lisp -L ./test -l test/testein.el test/test-ein*.el
|
|
|
|
travis-ci-zeroein:
|
|
$(EMACS) --version
|
|
EMACS=$(EMACS) lisp/zeroein.el -batch
|
|
rm -rf lib/*
|
|
EMACS=$(EMACS) lisp/zeroein.el -batch
|