.PHONY: build publish publish-test install dev test clean

# Build wheel + sdist into dist/
build:
	uv build

# Publish to PyPI
# Set UV_PUBLISH_TOKEN=pypi-... or pass --token on the command line
publish: build
	uv publish

# Install package locally in editable mode (dev workflow)
install:
	uv pip install -e .

# Install and run the CLI directly via uv without installing
dev:
	uv run cornvision

# Remove build artifacts
clean:
	rm -rf dist/ src/*.egg-info src/cornvision.egg-info
