Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (16 sloc) 452 Bytes
.PHONY: test clean coverage lint distclean release
PYTHON ?= python3
test:
$(PYTHON) -m unittest discover -v -b
clean:
rm -rf dist/ build/ *.egg-info
rm -rf coverage.xml
find . -name '__pycache__' | xargs rm -rf
distclean: clean
coverage:
coverage run --source zxtools setup.py test
coverage report -m --fail-under=80
lint:
pylint zxtools -f parseable -r n
release: clean lint coverage clean
$(PYTHON) setup.py sdist bdist_wheel upload