Clean up Makefile [ci skip]

- Rename ``pre`` -> ``release-test``
- Remove virtualenv creation and call ``install-req`` from ``release-test``
This commit is contained in:
Alex Clark 2015-06-07 09:59:46 -04:00
parent 91d5da745f
commit 99b4da48dc

View File

@ -1,4 +1,4 @@
.PHONY: pre clean install install-req test inplace coverage help docs livedocs
.PHONY: release-test clean install install-req test inplace coverage help docs livedocs
help:
@echo "Please use \`make <target>' where <target> is one of"
@ -11,12 +11,12 @@ help:
@echo " docs make html docs"
@echo " docserver run an http server on the docs directory"
@echo " install-req install documentation and test dependencies"
@echo " upload upload sdists to PyPI"
@echo " upload-test upload sdists to test.pythonpackages.com"
@echo " upload build and upload sdists to PyPI"
@echo " upload-test build and upload sdists to test.pythonpackages.com"
@echo " release-test run code and package tests before release"
pre:
virtualenv .
pip install -r requirements.txt
release-test:
$(MAKE) install-req
python setup.py develop
python selftest.py
nosetests Tests/test_*.py