update makefile and remove empty test file

This commit is contained in:
Lama 2025-07-22 21:45:06 -07:00
parent e7e11dc068
commit d8e2f73d2d
2 changed files with 16 additions and 7 deletions

View File

@ -4,16 +4,25 @@ help:
@echo "Available commands:" @echo "Available commands:"
@echo " install Install dependencies" @echo " install Install dependencies"
@echo " test Run tests" @echo " test Run tests"
@echo " test <file> Run specific test file"
@echo " lint Run linting" @echo " lint Run linting"
@echo " format Format code" @echo " format Format code"
@echo " clean Clean build artifacts" @echo " clean Clean build artifacts"
@echo " build Build package" @echo " build Build package"
@echo " run Start the KiCad MCP server"
install: install:
uv sync --group dev uv sync --group dev
test: test:
uv run python -m pytest tests/ -v # Collect extra args; if none, use tests/
@files="$(filter-out $@,$(MAKECMDGOALS))"; \
if [ -z "$$files" ]; then files="tests/"; fi; \
uv run pytest $$files -v
# Prevent “No rule to make target …” errors for the extra args
%::
@:
lint: lint:
uv run ruff check kicad_mcp/ tests/ uv run ruff check kicad_mcp/ tests/

View File