Makefile
28 lines
| 786 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 | ||||
plugin: IPython_doctest_plugin.egg-info | ||||
Fernando Perez
|
r1378 | dtest: plugin dtexample.py | ||
nosetests -vs --with-ipdoctest --doctest-tests --doctest-extension=txt \ | ||||
dtexample.py | ||||
Fernando Perez
|
r1334 | test: plugin dtexample.py | ||
Fernando Perez
|
r1378 | nosetests -vs --with-ipdoctest --doctest-tests --doctest-extension=txt \ | ||
Fernando Perez
|
r1334 | dtexample.py test*.txt | ||
deb: plugin dtexample.py | ||||
nosetests -vs --with-ipdoctest --doctest-tests --doctest-extension=txt \ | ||||
test_combo.txt | ||||
Fernando Perez
|
r1376 | iptest: plugin | ||
nosetests -vs --with-ipdoctest --doctest-tests --doctest-extension=txt \ | ||||
IPython | ||||
Fernando Perez
|
r1334 | IPython_doctest_plugin.egg-info: ipdoctest.py setup.py | ||
python setup.py install --prefix=$(PREFIX) | ||||
touch $@ | ||||
clean: | ||||
rm -rf IPython_doctest_plugin.egg-info *~ *pyc build/ dist/ | ||||