1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
# Makefile to simplify some common development tasks.
# Run 'make help' for a list of commands.
PYTHON=`which python`
default: help
help:
@echo "Available commands:"
@sed -n '/^[a-zA-Z0-9_.]*:/s/:.*//p' <Makefile | sort
test:
tox
coverage:
pytest --cov=sqlparse --cov-report=html --cov-report=term
clean:
$(PYTHON) setup.py clean
find . -name '*.pyc' -delete
find . -name '*~' -delete
release:
@rm -rf dist/
python setup.py sdist bdist_wheel
twine upload --sign --identity E0B84F81 dist/*
|