# Makefile for building and uploading paroles-net-scraper package .PHONY: build upload clean help lint format check test install-dev # Default target help: @echo "Available targets:" @echo " build - Build the package" @echo " upload - Build and upload package to Gitea" @echo " clean - Clean build artifacts" @echo " lint - Lint Python code with Ruff" @echo " format - Format Python code with Ruff" @echo " check - Check Python code with Ruff" @echo " test - Run tests" @echo " install-dev - Install development dependencies" @echo " help - Show this help message" # Build the package build: uv build # Upload package to Gitea upload: ./scripts/build_and_upload.sh # Clean build artifacts clean: rm -rf dist/ *.egg-info/ # Install development dependencies install-dev: uv pip install -e .[test] # Run tests test: uv run pytest tests/ -v # Lint Python code with Ruff lint: ruff check . --fix # Format Python code with Ruff format: ruff format . # Check Python code with Ruff check: ruff check .