emacs-ipython-notebook/Makefile

43 lines
1,002 B
Makefile
Raw Normal View History

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: loaddefs
loaddefs:
sh tools/update-autoloads.sh
.PHONY: clean
clean:
cask clean-elc
2012-09-12 17:54:19 +02:00
2013-02-10 05:33:25 +01:00
env-ipy.%:
tools/makeenv.sh env/ipy.$* tools/requirement-ipy.$*.txt
.PHONY: test-compile
test-compile: clean
! ( cask build 2>&1 | awk '{if (/^ /) { gsub(/^ +/, " ", $$0); printf "%s", $$0 } else { printf "\n%s", $$0 }}' | egrep "not known|Error|free variable" )
-cask clean-elc
.PHONY: test-no-build
test-no-build: test-unit test-int
.PHONY: test
test: test-compile test-unit test-int
2013-01-16 21:00:43 +01:00
.PHONY: test-int
test-int:
cask exec ert-runner -L ./lisp -L ./test -l test/testfunc.el test/test-func.el
cask exec ecukes
2013-01-16 21:00:43 +01:00
.PHONY: test-unit
test-unit:
cask exec ert-runner -L ./lisp -L ./test -l test/testein.el test/test-ein*.el
2012-09-28 01:02:25 +02:00
travis-ci-zeroein:
$(EMACS) --version
EMACS=$(EMACS) lisp/zeroein.el -batch
rm -rf lib/*
EMACS=$(EMACS) lisp/zeroein.el -batch