Make clean and test Phony targets

This commit is contained in:
Stefan Wehrmeyer 2017-09-29 14:10:32 +02:00
parent e9aa9298f0
commit 1fd2a15273

View File

@ -1,8 +1,9 @@
all: clean test dists
.PHONY: test
test:
nosetests
nosetests -v
dists:
python setup.py sdist
@ -12,6 +13,7 @@ release: dists
pip install -q twine
twine upload dist/*
.PHONY: clean
clean:
rm -rf dist build .eggs
find . -name '*.egg-info' -exec rm -fr {} +