mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
This way we can avoid code duplication. Also, this change makes tests faster due to ignoring the sdist step and adds Python 3.2, 3.4 and PyPy 3 to build matrix.
18 lines
373 B
Makefile
18 lines
373 B
Makefile
build:
|
|
virtualenv venv
|
|
venv/bin/pip install -e .
|
|
venv/bin/pip install -r requirements_dev.txt
|
|
|
|
test:
|
|
venv/bin/python setup.py test
|
|
|
|
coverage:
|
|
venv/bin/python setup.py test --cov
|
|
|
|
clean:
|
|
@rm -rf .Python MANIFEST build dist venv* *.egg-info *.egg
|
|
@find . -type f -name "*.py[co]" -delete
|
|
@find . -type d -name "__pycache__" -delete
|
|
|
|
.PHONY: build clean coverage test
|