flask/Makefile
Nicola Iarocci be8e0fcf10 Remove now obsolete 'audit' command from Makefile
When 'audit' was removed from setup.py, the corresponding shortcut was
left in the Makefile. This commit removes the audit shortcut from
Makefile.

Closes #2773.
2018-05-12 10:33:58 +02:00

32 lines
550 B
Makefile

.PHONY: all install-dev test coverage cov test-all tox docs release clean-pyc upload-docs ebook
all: test
install-dev:
pip install -q -e .[dev]
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
release:
python scripts/make-release.py
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +