38 lines
615 B
Makefile
38 lines
615 B
Makefile
.PHONY: install dev test lint format typecheck docker-build docker-up docker-down clean
|
|
|
|
install:
|
|
pip install -e .
|
|
|
|
dev:
|
|
pip install -e ".[dev]"
|
|
|
|
test:
|
|
pytest -v
|
|
|
|
lint:
|
|
ruff check guarddog_nexus tests
|
|
|
|
format:
|
|
ruff format guarddog_nexus tests
|
|
ruff check --fix guarddog_nexus tests
|
|
|
|
typecheck:
|
|
mypy guarddog_nexus
|
|
|
|
docker-build:
|
|
docker compose build
|
|
|
|
docker-up:
|
|
docker compose up -d
|
|
|
|
docker-down:
|
|
docker compose down -v
|
|
|
|
docker-logs:
|
|
docker compose logs -f
|
|
|
|
clean:
|
|
rm -rf dist build *.egg-info
|
|
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
|
|
find . -type f -name '*.pyc' -delete
|