Skip to content

Commit

Permalink
Update makefile [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Apr 7, 2018
1 parent f068e21 commit 8cc1e30
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ help:
@echo "clean-pyc - remove Python file artifacts"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "testall - run tests on every Python version with tox"
@echo "test-all - run tests on every Python version with tox"
@echo "coverage - check code coverage quickly with the default Python"
@echo "release - package and upload a release"
@echo "sdist - package"

clean: clean-build clean-pyc

clean-build:
python setup.py clean --all
rm -fr build/
rm -fr dist/
rm -fr *.egg-info
Expand All @@ -23,21 +24,21 @@ clean-pyc:
find . -name '*~' -exec rm -f {} +

lint:
flake8 meta tests
tox -epep8,isort

test:
python runtests.py test
python setup.py test

test-all:
tox

coverage:
coverage run runtests.py test
coverage erase
coverage run setup.py test
coverage report -m
coverage html

release: clean
python setup.py sdist bdist_wheel
python setup.py clean --all sdist bdist_wheel
twine upload dist/*

sdist: clean
Expand Down

0 comments on commit 8cc1e30

Please sign in to comment.