Makefile
54 lines
| 1.1 KiB
| text/x-makefile
|
MakefileLexer
Fernando Perez
|
r1334 | # Set this prefix to where you want to install the plugin | ||
PREFIX=~/usr/local | ||||
PREFIX=~/tmp/local | ||||
Fernando Perez
|
r1420 | NOSE0=nosetests -vs --with-doctest --doctest-tests | ||
NOSE=nosetests -vvs --with-ipdoctest --doctest-tests --doctest-extension=txt | ||||
#--with-color | ||||
Fernando Perez
|
r1435 | SRC=ipdoctest.py setup.py ../decorators.py | ||
Fernando Perez
|
r1420 | |||
Fernando Perez
|
r1334 | plugin: IPython_doctest_plugin.egg-info | ||
Fernando Perez
|
r1378 | dtest: plugin dtexample.py | ||
Fernando Perez
|
r1420 | $(NOSE) dtexample.py | ||
Fernando Perez
|
r1378 | |||
Fernando Perez
|
r1403 | # Note: this test is double counting!!! | ||
rtest: plugin dtexample.py | ||||
Fernando Perez
|
r1420 | $(NOSE) test_refs.py | ||
std: plugin | ||||
nosetests -vs --with-doctest --doctest-tests IPython.strdispatch | ||||
$(NOSE) IPython.strdispatch | ||||
Fernando Perez
|
r1403 | |||
Fernando Perez
|
r1334 | test: plugin dtexample.py | ||
Fernando Perez
|
r1420 | $(NOSE) dtexample.py test*.py test*.txt | ||
Fernando Perez
|
r1334 | |||
deb: plugin dtexample.py | ||||
Fernando Perez
|
r1420 | $(NOSE) test_combo.txt | ||
Fernando Perez
|
r1334 | |||
Fernando Perez
|
r1376 | iptest: plugin | ||
Fernando Perez
|
r1420 | $(NOSE) IPython | ||
deco: | ||||
Fernando Perez
|
r1435 | $(NOSE0) IPython.testing.decorators | ||
mtest: plugin | ||||
$(NOSE) -x IPython.Magic | ||||
ipipe: plugin | ||||
$(NOSE) -x IPython.Extensions.ipipe | ||||
Fernando Perez
|
r1420 | |||
sr: rtest std | ||||
base: dtest rtest test std deco | ||||
all: base iptest | ||||
Fernando Perez
|
r1376 | |||
Fernando Perez
|
r1420 | IPython_doctest_plugin.egg-info: $(SRC) | ||
Fernando Perez
|
r1334 | python setup.py install --prefix=$(PREFIX) | ||
touch $@ | ||||
clean: | ||||
rm -rf IPython_doctest_plugin.egg-info *~ *pyc build/ dist/ | ||||