proarbeit/mouse/Makefile

18 lines
673 B
Makefile

test: tests
tests:
python2 -m coverage run -m mouse._mouse_tests
python2 -m coverage run -am mouse._mouse_tests
python -m coverage run -am mouse._mouse_tests
python -m coverage run -am mouse._mouse_tests
python -m coverage report && coverage3 html
build: tests mouse setup.py
python ../docstring2markdown/docstring2markdown.py mouse "https://github.com/boppreh/mouse/blob/master" > README.md
find . \( -name "*.py" -o -name "*.sh" -o -name "* .md" \) -exec dos2unix {} \;
python setup.py sdist --format=zip bdist_wheel --universal bdist_wininst && twine check dist/*
release:
python make_release.py
clean:
rm -rfv dist build coverage_html_report mouse.egg-info