-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
test: tests | ||
|
||
tests: | ||
coverage2 run -am mouse._mouse_tests | ||
coverage3 run -am mouse._mouse_tests && coverage3 report && coverage3 html | ||
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 | ||
|
||
readme: | ||
python ../docstring2markdown/docstring2markdown.py mouse "https://github.com/boppreh/mouse/blob/master" > README.md | ||
|
||
clean: | ||
rm -rfv dist build coverage_html_report mouse.egg-info | ||
|
||
install: | ||
pip install . | ||
|
||
all: clean tests readme release | ||
rm -rfv dist build coverage_html_report mouse.egg-info |