mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Clean up Makefile [ci skip]
- Remove nose-cov comment: we know from requirements.txt that nose-cov is required. - Phony targets comment: who cares? We'll just keep listing them all for now. URL still helpful. - Coverage report comment: I don't get it. Reformat and add "XXX" to draw attention from someone who does.
This commit is contained in:
parent
5f4e407927
commit
70b2be6bd5
9
Makefile
9
Makefile
|
@ -1,5 +1,4 @@
|
|||
# https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
|
||||
# XXX Do we need all these phony targets?
|
||||
.PHONY: clean coverage doc docserve help inplace install install-req release-test sdist test upload upload-test
|
||||
|
||||
clean:
|
||||
|
@ -9,12 +8,10 @@ clean:
|
|||
find . -name __pycache__ | xargs rm -r || true
|
||||
|
||||
coverage:
|
||||
# requires nose-cov
|
||||
coverage erase
|
||||
coverage run --parallel-mode --include=PIL/* selftest.py
|
||||
nosetests --with-cov --cov='PIL/' --cov-report=html Tests/test_*.py
|
||||
# doesn't combine properly before report,
|
||||
# writing report instead of displaying invalid report
|
||||
# XXX Doesn't combine properly before report, writing report instead of displaying invalid report.
|
||||
rm -r htmlcov || true
|
||||
coverage combine
|
||||
coverage report
|
||||
|
@ -29,8 +26,8 @@ help:
|
|||
@echo "Welcome to Pillow development. Please use \`make <target>' where <target> is one of"
|
||||
@echo " clean remove build products"
|
||||
@echo " coverage run coverage test (in progress)"
|
||||
@echo " doc make html docs"
|
||||
@echo " docserve run an http server on the docs directory"
|
||||
@echo " doc make html docs"
|
||||
@echo " docserve run an http server on the docs directory"
|
||||
@echo " html to make standalone HTML files"
|
||||
@echo " inplace make inplace extension"
|
||||
@echo " install make and install"
|
||||
|
|
Loading…
Reference in New Issue
Block a user