22 lines
416 B
Makefile
22 lines
416 B
Makefile
|
|
.PHONY: install run test coverage clean all
|
||
|
|
|
||
|
|
install:
|
||
|
|
pip install -r requirements.txt
|
||
|
|
|
||
|
|
run:
|
||
|
|
python -m retoors.main
|
||
|
|
|
||
|
|
test:
|
||
|
|
pytest
|
||
|
|
|
||
|
|
coverage:
|
||
|
|
pytest --cov=retoors --cov-report=term-missing --cov-report=html
|
||
|
|
|
||
|
|
clean:
|
||
|
|
find . -type f -name "*.pyc" -delete
|
||
|
|
find . -type d -name "__pycache__" -exec rm -rf {} +
|
||
|
|
find . -type d -name ".pytest_cache" -exec rm -rf {} +
|
||
|
|
rm -f .coverage
|
||
|
|
rm -rf htmlcov
|
||
|
|
|
||
|
|
all: install test
|