.PHONY: install test lint check run scan

export UV_CACHE_DIR ?= /tmp/sbom-nexus-uv-cache

install:
	uv sync --dev

test:
	uv run pytest

lint:
	uv run ruff check src tests scripts

check: lint test

run:
	uv run sbom-nexus serve --reload

scan:
	uv run sbom-nexus scan .
