init: guarddog-nexus project skeleton
This commit is contained in:
37
Makefile
Normal file
37
Makefile
Normal file
@@ -0,0 +1,37 @@
|
||||
.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
|
||||
Reference in New Issue
Block a user