Make clean and test Phony targets
This commit is contained in:
parent
e9aa9298f0
commit
1fd2a15273
4
Makefile
4
Makefile
@ -1,8 +1,9 @@
|
|||||||
|
|
||||||
all: clean test dists
|
all: clean test dists
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
nosetests
|
nosetests -v
|
||||||
|
|
||||||
dists:
|
dists:
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
@ -12,6 +13,7 @@ release: dists
|
|||||||
pip install -q twine
|
pip install -q twine
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf dist build .eggs
|
rm -rf dist build .eggs
|
||||||
find . -name '*.egg-info' -exec rm -fr {} +
|
find . -name '*.egg-info' -exec rm -fr {} +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user