Makefile
48 lines
| 983 B
| 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 | ||||
SRC=ipdoctest.py setup.py decorators.py | ||||
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: | ||||
$(NOSE0) decorators.py | ||||
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/ | ||||