.PHONY: help install lint lint-fix test clean verify setup

# Default target
help: ## Show this help message
	@echo "Available targets:"
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "  \033[36m%-15s\033[0m %s\n", $$1, $$2}'

install: ## Install dependencies
	npm install

lint: ## Lint markdown files
	npm run lint:md

lint-fix: ## Fix markdown linting issues
	npm run lint:md:fix

check-syntax: ## Check shell script syntax
	@echo "Checking shell script syntax..."
	@bash -n onboarding.sh && echo "✓ Shell script syntax is valid" || echo "✗ Shell script syntax errors found"

check-all: lint check-syntax ## Run all checks
	@echo "All checks completed!"
