26 lines
448 B
Makefile
26 lines
448 B
Makefile
.PHONY: install dev-install test lint scan update-sigs clean
|
|
|
|
install:
|
|
pip install .
|
|
|
|
dev-install:
|
|
pip install -e ".[dev]"
|
|
|
|
test:
|
|
pytest --cov=ayn_antivirus tests/
|
|
|
|
lint:
|
|
ruff check ayn_antivirus/
|
|
black --check ayn_antivirus/
|
|
|
|
scan:
|
|
ayn-antivirus scan
|
|
|
|
update-sigs:
|
|
ayn-antivirus update
|
|
|
|
clean:
|
|
rm -rf build/ dist/ *.egg-info .pytest_cache .coverage
|
|
find . -type d -name __pycache__ -exec rm -rf {} +
|
|
find . -type f -name '*.pyc' -delete
|