| 1 |
.PHONY: tests cov htmlcov pep8 pylint docs dev-deps test-deps publish coveralls |
| 2 |
|
| 3 |
tests: |
| 4 |
python mando/tests/run.py |
| 5 |
|
| 6 |
cov: |
| 7 |
coverage erase && coverage run --include "mando/*" --omit "mando/tests/*,mando/napoleon/*" mando/tests/run.py |
| 8 |
coverage report -m |
| 9 |
|
| 10 |
htmlcov: cov |
| 11 |
coverage html |
| 12 |
|
| 13 |
pep8: |
| 14 |
pep8 mando --exclude "tests" |
| 15 |
|
| 16 |
pylint: |
| 17 |
pylint --rcfile pylintrc mando |
| 18 |
|
| 19 |
docs: |
| 20 |
cd docs && make html |
| 21 |
|
| 22 |
dev-deps: |
| 23 |
pip install -r dev_requirements.pip |
| 24 |
|
| 25 |
test-deps: |
| 26 |
pip install -r test_requirements.pip |
| 27 |
|
| 28 |
publish: |
| 29 |
rm -rf dist/* |
| 30 |
python setup.py sdist bdist_wheel |
| 31 |
twine upload dist/* |
| 32 |
python setup.py develop |
| 33 |
|
| 34 |
coveralls: test-deps cov |
| 35 |
coveralls |