flask/Makefile

33 lines
550 B
Makefile
Raw Normal View History

.PHONY: all install-dev test coverage cov test-all tox docs release clean-pyc upload-docs ebook
2010-04-14 08:42:12 +08:00
all: test
2010-04-14 08:42:12 +08:00
install-dev:
pip install -q -e .[dev]
2013-05-31 01:19:01 +08:00
test: clean-pyc install-dev
pytest
coverage: clean-pyc install-dev
coverage run -m pytest
coverage report
coverage html
cov: coverage
test-all: install-dev
tox
tox: test-all
docs: clean-pyc install-dev
$(MAKE) -C docs html
2011-06-27 06:31:24 +08:00
release:
python scripts/make-release.py
2010-04-14 08:42:12 +08:00
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +