Skip to content

Commit

Permalink
Use makefile from 'keyboard'
Browse files Browse the repository at this point in the history
  • Loading branch information
boppreh committed Jan 1, 2020
1 parent 93ed401 commit f89a3b6
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions Makefile
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

0 comments on commit f89a3b6

Please sign in to comment.