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

Merge the login and open commands (open aliased to login). Add login tests described in #352. Attempt to improve user experience by synchronously executing `ein:jupyter-server-start`. `ein:dev-prefer-deferred` custom variable allows easy switch to compare sychronous versus old asynchronous behavior.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
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: autoloads
|
|
autoloads:
|
|
sh tools/update-autoloads.sh
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
cask clean-elc
|
|
|
|
env-ipy.%:
|
|
tools/makeenv.sh env/ipy.$* tools/requirement-ipy.$*.txt
|
|
|
|
.PHONY: test-compile
|
|
test-compile: clean autoloads
|
|
! ( 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: quick
|
|
quick: test-compile test-unit
|
|
|
|
.PHONY: test-no-build
|
|
test-no-build: test-unit test-int autoloads
|
|
|
|
.PHONY: quick
|
|
quick: test-compile test-unit
|
|
|
|
.PHONY: test
|
|
test: quick test-int
|
|
|
|
.PHONY: test-int
|
|
test-int:
|
|
cask exec ert-runner -L ./lisp -L ./test -l test/testfunc.el test/test-func.el
|
|
cask exec ecukes
|
|
|
|
.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
|