emacs-ipython-notebook/Makefile

63 lines
1.5 KiB
Makefile
Raw Normal View History

EMACS = emacs
2012-09-18 18:24:40 +02:00
IPYTHON = ipython
2012-09-18 18:34:57 +02:00
IPY_VERSION = 0.13.0
2012-09-13 15:56:33 +02:00
TESTEIN = tools/testein.py
2012-09-12 16:35:04 +02:00
testein-default:
2012-09-18 18:24:40 +02:00
$(TESTEIN) --clean-elc --ipython $(IPYTHON)
2012-09-12 16:35:04 +02:00
testein-24:
2012-09-18 18:24:40 +02:00
$(TESTEIN) --clean-elc -e emacs-snapshot --ipython $(IPYTHON)
2012-09-12 16:35:04 +02:00
2012-09-12 17:31:38 +02:00
testein-unit-all:
2012-09-13 15:56:33 +02:00
$(TESTEIN) --no-func-test --clean-elc --load-ert
$(TESTEIN) --no-func-test --clean-elc -e emacs-snapshot
2012-09-12 17:31:38 +02:00
2012-09-12 16:35:04 +02:00
interactive-testein-default:
2012-09-18 18:24:40 +02:00
$(TESTEIN) --clean-elc --load-ert --no-batch --ipython $(IPYTHON)
2012-09-12 16:35:04 +02:00
interactive-testein-24:
2012-09-18 18:24:40 +02:00
$(TESTEIN) --clean-elc -e emacs-snapshot --no-batch --ipython $(IPYTHON)
2012-12-26 19:09:51 +01:00
ERT_DIR = lib/ert/lisp/emacs-lisp
ert-compile: ert-clean log
$(EMACS) -Q -batch -L $(ERT_DIR) \
-f batch-byte-compile $(ERT_DIR)/*.el 2> log/ert-compile.log
ert-clean:
rm -f lib/ert/lisp/emacs-lisp/*.elc
2012-09-12 17:54:19 +02:00
2012-09-19 00:50:12 +02:00
env-ipy.dev:
tools/makeenv.sh env/ipy.dev tools/requirement-ipy.dev.txt
env-ipy.0.13.0:
tools/makeenv.sh env/ipy.0.13.0 tools/requirement-ipy.0.13.0.txt
env-ipy.0.12.1:
tools/makeenv.sh env/ipy.0.12.1 tools/requirement-ipy.0.12.1.txt
env-ipy.0.12.0:
tools/makeenv.sh env/ipy.0.12.0 tools/requirement-ipy.0.12.0.txt
2012-09-18 22:24:15 +02:00
env-clean:
rm -rf env
2012-12-26 19:09:51 +01:00
log:
mkdir log
2012-09-18 22:24:15 +02:00
log-clean:
rm -rf log
2012-09-28 01:02:25 +02:00
travis-ci-testein: ert-compile env-ipy.$(IPY_VERSION)
$(EMACS) --version
python --version
2012-09-19 00:52:27 +02:00
env/ipy.$(IPY_VERSION)/bin/ipython --version
2012-09-18 18:34:57 +02:00
$(TESTEIN) --clean-elc -e $(EMACS) \
--ipython env/ipy.$(IPY_VERSION)/bin/ipython
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